Skip to main content
POST
Error

Authorizations

X-API-Key
string
header
required

Body

multipart/form-data
grant_type
string
required

Grant type: authorization_code, urn:ietf:params:oauth:grant-type:device_code, or refresh_token

client_id
string
required

OAuth2 client ID

code
string

Authorization code (authorization_code grant)

code_verifier
string

PKCE code verifier (authorization_code grant)

redirect_uri
string

Redirect URI (authorization_code grant)

device_code
string

Device code (device_code grant)

refresh_token
string

Refresh token (refresh_token grant)

Response

OK

access_token
string
expires_in
integer
refresh_token
string
token_type
string
workspace_id
string