Create Access Token

View as MarkdownOpen in Claude
Generate OAuth 2.0 access tokens based on request parameters.

Request

This endpoint expects an object.
clientIdstringOptional
clientAuthenticationMethodenumOptional
clientAssertionstringOptional
clientSecretstringOptional
clientAssertionTypestringOptional

Response

Returns a token response.
access_tokenstring
The serialized access token
refresh_tokenstring
The serialized refresh token if applicable
id_tokenstring
The serialized ID token if applicable
token_typestring

The token type (e.g., Bearer)

scopestring

The space-delimited list of granted scopes

expires_inlong
The number of seconds from now until the access token expires

Errors

400
Bad Request Error
500
Internal Server Error