Get JWT Token
Exchange API Key credentials for JWT tokens.
Authorizations
Body
api_key_idstringRequiredExample:
The API Key ID of your API user
2khK02ZRc_TE9nYJyGIfIQ
api_key_secretstringRequiredExample:
The API Key Secret of your API user
jI0X2n55EHnNaZasmzfOL36wXx6b4D7Wmw-riZCeGWE
Responses
200
JWT tokens
application/json
401
Unauthorized
application/json
post
POST /auth/token HTTP/1.1
Host:
X-Ledger-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 102
{
"api_key_id": "2khK02ZRc_TE9nYJyGIfIQ",
"api_key_secret": "jI0X2n55EHnNaZasmzfOL36wXx6b4D7Wmw-riZCeGWE"
}
{
"access_token": "text",
"expires_in": 300,
"refresh_token": "text",
"session_state": "text",
"token_type": "Bearer"
}