Loading…
Loading…
The Jandojegs API uses Bearer token authentication. Every request must include your API key in the Authorization header.
ENDPOINTS
/api/auth/tokenExchange credentials for an access token/api/auth/meGet the authenticated user/api/auth/tokenRevoke an access tokencurl -X POST https://api.jandojegs.com/api/auth/token \
-H "Content-Type: application/json" \
-d '{ "email": "you@company.com", "password": "••••••••" }'
# Response
{
"token": "jdg_live_sk_1a2b3c4d...",
"expires_in": 86400,
"user": { "id": "usr_001", "email": "you@company.com" }
}Notes