Data Access Register
Exchange Basic Auth credentials for a short-lived JWT bearer token. Cache and reuse until expiry. Credentials Base64-encoded as account_id:secret_key.
account_id:secret_key
cURL
curl --request GET \ --url https://api.central.consent/v1/auth/token \ --header 'Authorization: Basic <encoded-value>'
{ "bearer-token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "expires": 7200 }
Base64-encode account_id:secret_key. Used only on GET /auth/token.
GET /auth/token
Token issued successfully.
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
Token lifetime in seconds from issue.
7200