v1

latestOpenAPI 3.1.02026-07-1314020.1 KB
OAuth

OAuth 2.1 token endpoint

Exchanges an authorization code (with PKCE) for an access + refresh token, or rotates a refresh token. Accepts client credentials in the form body (client_secret_post / none) or in the Authorization header (Bearer registration token, or Basic auth).

post/oauth/token

Request body

OR

Response

Default Response

access_tokenstring required
token_type'Bearer' required
expires_innumber required
refresh_tokenstring
scopestring