Skip to main content
POST
Exchange code for token

Authorizations

Authorization
string
header
required

OAuth2 access token for authentication

Body

application/json
grant_type
enum<string>
required

Tipo de grant

Available options:
authorization_code,
refresh_token
client_id
string
required

OAuth2 client ID

client_secret
string
required

OAuth2 client secret

code
string
required

Authorization code (for authorization_code)

redirect_uri
string<uri>
required

Redirect URI

refresh_token
string

Refresh token (para refresh_token)

Response

Access token

access_token
string

Access token

token_type
enum<string>

Token type

Available options:
bearer
expires_in
integer

Expiration time in seconds

refresh_token
string

Refresh token

scope
string

Granted permissions