Skip to main content
POST
The new API key starts with a 0balance.Weemailyouaverificationlink,andopeningitaddsthe0 balance. We email you a verification link, and opening it adds the 0.50 signup credit, which spends on the free tier. Until then, a call to any model answers 402.
string
required
Your email address.
string
required
Password (min 6 characters).
string
Optional referral code from the person who invited you.

Response

Errors

Errors have the shape {"error": {"message", "type", "code"}}, where code is the HTTP status. 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.