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_tokenstringOptional
refresh_tokenstringOptional
token_typestringOptional
expires_inlongOptional
workspace_idstringOptional
workspace_namestringOptional

Errors

400
Bad Request Error