POST
/integration/v1/oauth2/token
Create access token
Create access token
operationId Create access token
Cuerpo de la solicitud
Content-Type: application/json
| Campo | Tipo | Obligatorio | Descripción |
|---|---|---|---|
client_id
|
string (uuid) | obligatorio | Client id |
client_secret
|
string | obligatorio | Client secret |
grant_type
|
string | opcional | Grant type |
code
|
string | opcional | Authorization code to get access token to access to OAuth resources. |
Respuestas
200 OAuth access data
Cuerpo de application/json
| Campo | Tipo | Obligatorio | Descripción |
|---|---|---|---|
access_token
|
string | obligatorio | OAuth access token |
refresh_token
|
string | obligatorio | OAuth refresh token |
access_token_lifetime
|
integer | obligatorio | Access token lifetime in ms |
refresh_token_lifetime
|
integer | obligatorio | Refresh token lifetime in ms |
access_token_type
|
string | obligatorio | Access token type |
412 Invalid parameters
500 Server error
512 Specification violations