Docs API & Developer API Authentication

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

  1. Log into your business dashboard at app.6xcom.com/dashboard.
  2. Go to Settings.
  3. Scroll to the API Access section.
  4. If you have the API Access addon active, your token is displayed there.
  5. 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

StatusMeaning
401Token missing or invalid
403API Access addon not enabled
429Daily rate limit reached (10,000 calls/day)
Was this article helpful?