v1

latestOpenAPI 3.0.02026-07-14169146300.3 KB
OAuth

[Beta] Exchange auth code for user's access and refresh token

Supports authorization_code, refresh_token, and urn:ietf:params:oauth:grant-type:jwt-bearer grant types. The jwt-bearer grant type (IDJAG — identity-directed JWT assertion) is in beta and available on Team and Enterprise plans only.

post/v1/oauth/token

Response

access_tokenstring required
refresh_tokenstring

The urn:ietf:params:oauth:grant-type:jwt-bearer grant type issues access tokens only, no refresh token is returned and the token cannot be revoked via /v1/oauth/revoke.

expires_ininteger required
token_type'Bearer' required