Authentication

Generate Access Token

Exchange your Client ID and Client Secret for a JWT access token. This token must be included in the Authorization header of all subsequent requests.

POST
https://api.fynlo.makylegacy.com/api/v1/oauth/token

Headers

Content-Typestring

application/json

Required

Request Body

application/json
{
  "client_id": "FYNLO_ID_...",
  "client_secret": "FYNLO_SEC_...",
  "grant_type": "client_credentials"
}

Response Example

200 OK
JSON
{
  "access_token": "eyJhbGciOiJIUzI1NiIsInR5...",
  "token_type": "Bearer",
  "expires_in": 3600
}
Pro Tip

Always handle error codes (4xx, 5xx) gracefully. See our Error Handling Guide for common retry strategies.