Get started
Authentication
Create API keys, send them with requests, and keep them safe.
Every request to the Loco API is authenticated with a token sent in the Authorization header.
Authorization: Bearer <your-api-key>Creating an API key
Important
Placeholder: describe where customers create keys (dashboard location, required role) and how keys are scoped to an organization.
Permissions
Many operations require a specific permission. The required permission is listed in the description of each operation in the API reference, for example the me query requires Authenticated. Read more in Permissions.
Keeping keys safe
- Only use API keys from servers you control — never ship them in a browser or mobile app bundle.
- Store keys in a secret manager or environment variable.
- Rotate keys immediately if you suspect one has leaked.