Skip to main content
POST
string
required
Your email address.
string
required
Your password.

Response

Errors

When the browser session cookie is enabled, a successful response also carries two Set-Cookie headers. They are additional to the JSON body, which is unchanged — session_token is still the credential to store and send as Authorization: Bearer ….
__Host-kyma_session is host-only and HttpOnly: it is sent by the browser to kymaapi.com only, and page scripts cannot read it. kyma_csrf is readable, and a request authenticated by the cookie alone must echo it in an X-Kyma-CSRF header on any POST, PUT, PATCH or DELETE; requests that send a Bearer token need nothing extra. POST /v1/auth/logout clears both. API clients that do not keep a cookie jar are unaffected — ignore the headers and use the Bearer token as before.