v1

latestOpenAPI 3.1.02026-07-247328324.6 KB
API authentication

Create a token

post/oauth/token

Headers

IdempotencyKeystring

A unique key per operation, could be V4 UUID or other high‑entropy random string. Keys can be up to 255 characters. See Idempotent Requests.

Example:978771af-77de-4e24-ba39-f602502ceb78

A unique key per operation, could be V4 UUID or other high‑entropy random string. Keys can be up to 255 characters. See Idempotent Requests.

Request body

OR

Example request

{
  "redirect_uri": "https://www.acme.com",
  "resource": "https://www.acme.com"
}

Response

Successful operation

access_tokenstring required

Non-empty text string

refresh_tokenstring required

Non-empty text string

expires_ininteger required

Non-negative integer (0 to 2147483647)

token_type'bearer' required

Example response

{
  "expires_in": 42
}