OAuth Token Endpoint

OAuth 2.1 token endpoint (RFC 6749 §4.1.3, §6). Exchanges an authorization code with PKCE or a refresh token for an access/refresh token pair

Request

This endpoint expects an object.
grant_typestringOptional
codestringOptional
redirect_uristringOptional
client_idstringOptional
code_verifierstringOptional
refresh_tokenstringOptional

Response

Token response
access_tokenstring
refresh_tokenstring
token_typestring
expires_inlong
workspace_idstring
workspace_namestring

Errors

400
Bad Request Error