POST
/
oauth
/
token
curl --request POST \
  --url https://public-api.kiwify.com/v1/oauth/token \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data client_id=be161f42-1d05-4949-8736-1a526c28672d \
  --data client_secret=a12b34c56d78e90f1234abcd5678efgh9012ijkl3456mnop7890qrst1234uvwx
{
  "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdG9yZV9hcGlfaW50ZWdyYXRpb25faWQiOiIzNmI1MDZlYS03M2ZmLTQ2NjQtODQ4Zi1iODFjYzllZmU0NzYiLCJzdG9yZV9pZCI6Ilh2UzBxZmtkekNaVGc4eiIsInNjb3BlIjoic3RhdHMgcHJvZHVjdHMgZXZlbnRzIHNhbGVzIHNhbGVzX3JlZnVuZCBmaW5hbmNpYWwgYWZmaWxpYXRlcyB3ZWJob29rcyIsImp0aSI6ImVkNGFlMmUyOWZhZWIxMzUwZjNmMTdjMzExYmM0NjhhIiwiZXhwIjoxNzAxMzQ4NTE1LCJpYXQiOjE3MDEyNjIxMTV9.dJWYnnQv6TREivsL3riYFQPypHg-6RqaGVff8iM4puw",
  "token_type": "Bearer",
  "expires_in": 86400,
  "scope": "stats products events sales sales_refund financial affiliates webhooks"
}

Body

application/x-www-form-urlencoded

Response

200
application/json

OK

The response is of type object.