Autenticação
Endpoint para gerar um Bearer token utilizado como autenticação nos outros endpoints da API.
post/oauth/token
Request
- Base URLhttps://public-api.kiwify.com/v1
- URLhttps://public-api.kiwify.com/v1/oauth/token
- Authnone declared
Request body application/x-www-form-urlencoded
Example request
{
"client_id": "be161f42-1d05-4949-8736-1a526c28672d",
"client_secret": "a12b34c56d78e90f1234abcd5678efgh9012ijkl3456mnop7890qrst1234uvwx"
}Response
OK
Example response
{
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdG9yZV9hcGlfaW50ZWdyYXRpb25faWQiOiIyZThmMzExMy0wNmE1LTQ4OTAtOTgyNC1iNWM1ZmI3YmZkYTciLCJzdG9yZV9pZCI6IlU5VmNINnlaelJrVDJmQiIsImludGVncmF0aW9uX25hbWUiOiJ0ZXN0ZSIsInNjb3BlIjoic3RhdHMiLCJqdGkiOiJhZTMwZDQ4NjU3NWJmMDBiMDFiNzFkNDFlY2M3OWM5YyIsImV4cCI6MTcwMjU5MDg0NiwiaWF0IjoxNzAyNTA0NDQ2fQ.N8Nl5Coj3bL9M6tkaAE61bL2NnqwhUYfNnRqhTMGElc",
"token_type": "Bearer",
"expires_in": "86400",
"scope": "stats products events sales sales_refund financial affiliates webhooks"
}Changes
No recorded changes to this operation across all 2 revisions of this API.