v1

latestOpenAPI 3.1.02026-07-26223346.1 KB
Autenticação

Endpoint para gerar um Bearer token utilizado como autenticação nos outros endpoints da API.

post/oauth/token

Response

OK

access_tokenstring
token_typestring
expires_instring
scopestring

Example response

{
  "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdG9yZV9hcGlfaW50ZWdyYXRpb25faWQiOiIyZThmMzExMy0wNmE1LTQ4OTAtOTgyNC1iNWM1ZmI3YmZkYTciLCJzdG9yZV9pZCI6IlU5VmNINnlaelJrVDJmQiIsImludGVncmF0aW9uX25hbWUiOiJ0ZXN0ZSIsInNjb3BlIjoic3RhdHMiLCJqdGkiOiJhZTMwZDQ4NjU3NWJmMDBiMDFiNzFkNDFlY2M3OWM5YyIsImV4cCI6MTcwMjU5MDg0NiwiaWF0IjoxNzAyNTA0NDQ2fQ.N8Nl5Coj3bL9M6tkaAE61bL2NnqwhUYfNnRqhTMGElc",
  "token_type": "Bearer",
  "expires_in": "86400",
  "scope": "stats products events sales sales_refund financial affiliates webhooks"
}