Authentication

Exchange Api Key

post/auth/token-exchange

Request

Request body

api_keystring required

API Key starting with sk_live_

user_idstring nullable

Optional effective user_id for the minted JWT. If omitted, defaults to an api-key-scoped synthetic user.

session_idstring nullable

Optional session_id to include in the minted JWT

Response

Successful Response

access_tokenstring required

JWT access token

refresh_tokenstring required

JWT refresh token

token_typestring

Token type

expires_ininteger required

Token expiration in seconds

Changes

No recorded changes to this operation across all 1 revision of this API.