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
- Log into your business dashboard at app.6xcom.com/dashboard.
- Go to Settings.
- Scroll to the API Access section.
- If you have the API Access addon active, your token is displayed there.
- Click Copy to copy it to your clipboard.
Regenerating your token
You can regenerate your token at any time from the same Settings page. Note that regenerating will immediately invalidate your old token — update all your integrations before doing this.
Example request
curl -X GET https://app.6xcom.com/api/v1/me \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
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?