Authentication

Authentication

The Linxly API uses Bearer token authentication. Every request must include an Authorization header with a valid access token.

Authorization header

Authorization: Bearer <your_access_token>

Example request

curl https://api.linx.ly/v1/client/short-links \
  -H "Authorization: Bearer your_access_token_here" \
  -H "Accept: application/json"

Obtaining a token

Access tokens are issued after authenticating through the Linxly platform. Include the token in every API request exactly as shown above.

Token errors

If your token is missing, expired, or invalid, the API returns:

HTTP/1.1 401 Unauthorized
{
  "message": "Unauthenticated."
}
⚠️

Never expose your access token in client-side code or public repositories.