Skip to main content
POST
Endpoint para gerar um Bearer token utilizado como autenticação nos outros endpoints da API.

Corpo

application/x-www-form-urlencoded
client_id
string
obrigatório
Exemplo:

"be161f42-1d05-4949-8736-1a526c28672d"

client_secret
string
obrigatório
Exemplo:

"a12b34c56d78e90f1234abcd5678efgh9012ijkl3456mnop7890qrst1234uvwx"

Resposta

OK

access_token
string
Exemplo:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdG9yZV9hcGlfaW50ZWdyYXRpb25faWQiOiIyZThmMzExMy0wNmE1LTQ4OTAtOTgyNC1iNWM1ZmI3YmZkYTciLCJzdG9yZV9pZCI6IlU5VmNINnlaelJrVDJmQiIsImludGVncmF0aW9uX25hbWUiOiJ0ZXN0ZSIsInNjb3BlIjoic3RhdHMiLCJqdGkiOiJhZTMwZDQ4NjU3NWJmMDBiMDFiNzFkNDFlY2M3OWM5YyIsImV4cCI6MTcwMjU5MDg0NiwiaWF0IjoxNzAyNTA0NDQ2fQ.N8Nl5Coj3bL9M6tkaAE61bL2NnqwhUYfNnRqhTMGElc"

token_type
string
Exemplo:

"Bearer"

expires_in
string
Exemplo:

"86400"

scope
string
Exemplo:

"stats products events sales sales_refund financial affiliates webhooks"