🔒 Authentication

The Lynxo API uses OAuth 2.0 to authenticate requests. You can view and manage your client credentials in the Lynxo Dashboard by navigating to the Developers section.

🔗 https://dashboard.lynxo.ai/developers

Your client credentials carry many privileges, so be sure to keep them secure! Do not share your client credentials in publicly accessible areas such as GitHub, client-side code, and so forth.

Authentication Response

When you successfully authenticate, you'll receive a JSON response containing:

  • access_token A JWT token used to authenticate API requests
  • token_type Always "Bearer", indicating how to use the token
  • expires_in Token validity duration in seconds (typically 1 hour/3600 seconds)

Parameters

client_id
string
Required
The client identifier issued to the client during registration. This uniquely identifies your application.
client_secret
string
Required
The client secret issued to the client during registration. Keep this secure and never expose it in client-side code.
grant_type
string
Required
The authorization grant type. For machine-to-machine authentication, use 'client_credentials'.
POST/v1/oauth/token
curl https://api.lynxo.ai/v1/oauth/token \
  -H "Content-Type: application/json" \
  -X POST \
  -d '{"client_id":"102ac9d6-35bd-49d3-ba19-77d2e8eb471e","client_secret":"e933aede364a63d74a9b6b2c215ad2df","grant_type":"client_credentials"}'
RESPONSE
{
  "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InNpbTIifQ.eyJleHAiOjE3NTQ3NzI5ODQsInN1YiI6ImlhbS4uNjZhMjIwMjEtMDQzMS00ZWQ0LWE4MDktZWJjNGNhNTdhMmRiLi40Mi4uMC4ub2F1dGguLkFkbWluLi5hZG1pbkB0cmFkbHkuYXBwLi5zdXBlcmFkbWluIiwidXNlcl9yb2xlcyI6WyJzdXBlcmFkbWluIl0sImlhdCI6MTc1NDc2OTM4NH0.JkRUlh1tSgB8Ih-30PlnmlrY9hA232ntfPnUH32Ayuk",
  "token_type": "Bearer",
  "expires_in": 3600
}