API Authentication
How to get your API token and authenticate requests to the 6X API.
API Authentication
All 6X API requests must include your API token. You can pass it in two ways:
Option 1 — Authorization header (recommended)
Authorization: Bearer YOUR_API_TOKEN
Option 2 — X-API-Key header
X-API-Key: YOUR_API_TOKEN
Getting your API token
Email support@6xcom.com to enable API Access and receive your token.
Regenerating your token
Contact support@6xcom.com to regenerate your token at any time. Note that regenerating immediately invalidates the old one — update all your integrations before doing this.
Example request
curl -X POST https://app.6xcom.com/api/v1/lookup/number \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"number":"+447936508801"}'
Error responses
| Status | Meaning |
|---|---|
| 401 | Token missing or invalid |
| 403 | API Access addon not enabled |
| 429 | Daily rate limit reached (10,000 calls/day) |
Was this article helpful?