v1

latestOpenAPI 3.1.02026-08-04370235.8 KB

Generate Bearer Token

Authentication: OAuth 2.0

Please check our examples to see how the request is made for each grant_type.

post/token

Headers

Content-Typestring

Request body

client_idstring required

Eupago client_id

client_secretstring required

Eupago client_secret

grant_type'password' | 'client_credentials' | 'refresh_token' required

Access type

refresh_tokenstring

Token to renew the access (only if grant_type is refresh_token)

Response

200

transactionStatusstring
access_tokenstring
token_typestring
expires_instring

Example response

{
  "transactionStatus": "Success",
  "access_token": "xxxxxxxxxxxxxxxxxxxxxxxxx",
  "token_type": "Bearer",
  "expires_in": "2022-01-10 10:47:41"
}