Skip to main content
GET
/
auth
/
token
Obtain Bearer Token
curl --request GET \
  --url https://api.central.consent/v1/auth/token \
  --header 'Authorization: Basic <encoded-value>'
{
  "bearer-token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "expires": 7200
}

Authorizations

Authorization
string
header
required

Base64-encode account_id:secret_key. Used only on GET /auth/token.

Response

Token issued successfully.

bearer-token
string
required
Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

expires
integer
required

Token lifetime in seconds from issue.

Example:

7200

Last modified on March 11, 2026