For the complete documentation index, see llms.txt. This page is also available as Markdown.

Authorization

Obtain and refresh OAuth2 tokens

Get or refresh tokens

post

Use grant_type: password to obtain tokens for the first time, or grant_type: refresh_token to rotate them without re-entering credentials. Each refresh resets the access token expiry and issues a new refresh token.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
or
Responses
200

Token pair issued successfully

application/json
access_tokenstringOptional
refresh_tokenstringOptional
expires_inintegerOptional

Validity in seconds (3600)

token_typestringOptionalExample: bearer
scopestringOptional
post/oauth/v2/token

Last updated

Was this helpful?