Hikka Docs Hikka Docs
EndpointsAuth

Make token for a third-party client

POST
/auth/token

Request Body

application/json

request_reference*string
Formatuuid
client_secret*string
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://api.hikka.io/auth/token" \  -H "Content-Type: application/json" \  -d '{    "request_reference": "befa7ed4-201c-4983-ac08-b6179835da7c",    "client_secret": "string"  }'
{
  "expiration": 1686088809,
  "created": 1686088809,
  "secret": "CQE-CTXVFCYoUpxz_6VKrHhzHaUZv68XvxV-3AvQbnA"
}
{
  "message": "Example error message",
  "code": "example_error"
}