Authentication
The Comsalo API uses API keys to authenticate requests. API keys are available on Pro and Max plans.
Getting your API key
You can generate an API key from your dashboard under Settings → API Keys. Each key is shown only once — store it somewhere safe immediately after creation.
Never expose your API key in client-side code, public repositories, or browser environments. Always make API calls from your backend.
Key format
All API keys are prefixed with sk_live_ followed by 64 hex characters. Keys are environment-scoped — live keys only work against the production API.
Key format
sk_live_{64-hex-characters}Making authenticated requests
Include your API key in the Authorization header of every request using the Bearer scheme.
curl
curl https://recruit.comsalo.com/api/v1/jobs \
-H "Authorization: Bearer sk_live_your_api_key"Authentication errors
| Status | Code | Description |
|---|---|---|
| 401 | UNAUTHORIZED | Missing or malformed Authorization header. |
| 401 | UNAUTHORIZED | Invalid or revoked API key. |
| 403 | PLAN_UPGRADE_REQUIRED | Your current plan does not include API access. |