Exchange an Identity Platform ID token for a session cookie
Verifies the ID token (email must be verified), links the identity to the tenant whose completed signup matches the email, and sets the HttpOnly klanex_session cookie (7-day TTL). The cookie is accepted by all /v1 endpoints as an alternative to X-API-Key; cookie-authed state-changing requests must also send an X-Requested-With header. Per-IP rate limited.
post/auth/session
Request
- Base URL: https://api.klanexai.com
- URL: https://api.klanexai.com/auth/session
- Auth: none required
Request body
Response
Signed in; Set-Cookie klanex_session.
Changes
No recorded changes to this operation across all 1 revision of this API.