Learn how to authenticate with the Synaptiq API using API keys and Bearer tokens.
All requests to the Synaptiq API must be authenticated using a Bearer token. API keys are managed from your Synaptiq dashboard and scoped to control access levels across your organization.
All API requests are made to:
https://synaptiqintel.com/api/v1
Include your API key in the Authorization header of every request:
curl https://synaptiqintel.com/api/v1/leads \
-H "Authorization: Bearer sk_live_abc123def456ghi789jkl012mno345"
All API requests must be made over HTTPS. Requests over plain HTTP will be rejected.
Each API key is assigned a scope that determines what operations it can perform.
| Scope | Description | Allowed Methods |
|---------|-----------------------------------------------------------------------------|----------------------------|
| read | Read-only access to leads, conversations, and analytics. | GET |
| write | Read and write access. Can create and update leads, send chat messages. | GET, POST, PATCH |
| admin | Full access including key management, webhook configuration, and deletions. | GET, POST, PATCH, DELETE |
When creating integrations, always use the most restrictive scope that meets your needs.
A read scoped key can:
A write scoped key adds the ability to:
An admin scoped key adds the ability to:
Synaptiq supports zero-downtime key rotation to keep your integrations secure:
You can also manually revoke the old key before the grace period ends by clicking Revoke Old Key.
# Verify your new key works before the old one expires
curl https://synaptiqintel.com/api/v1/leads \
-H "Authorization: Bearer sk_live_NEW_KEY_HERE" \
-w "\nHTTP Status: %{http_code}\n"
Synaptiq provides separate key prefixes for each environment:
| Prefix | Environment | Description |
|---------------|-------------|------------------------------------------------|
| sk_live_ | Production | Operates on real data. Use in production only. |
| sk_test_ | Sandbox | Operates on test data. Safe for development. |
Test keys interact with an isolated sandbox environment. Leads, conversations, and analytics created with test keys do not affect your production data.
# Example: loading your API key from an environment variable
export SYNAPTIQ_API_KEY="sk_live_abc123def456ghi789jkl012mno345"
curl https://synaptiqintel.com/api/v1/leads \
-H "Authorization: Bearer $SYNAPTIQ_API_KEY"
If authentication fails, the API returns one of the following errors:
| Status Code | Error | Description |
|-------------|------------------------|-------------------------------------------------|
| 401 | unauthorized | No API key provided or the key is invalid. |
| 403 | forbidden | The API key does not have the required scope. |
{
"error": {
"code": "unauthorized",
"message": "Invalid or missing API key. Provide a valid Bearer token in the Authorization header.",
"doc_url": "https://synaptiqintel.com/docs/api-reference/authentication"
}
}
API keys are subject to rate limits based on their scope and your plan tier. See Rate Limits and Error Codes for full details.
| Scope | Requests per Minute (Starter) | Requests per Minute (Pro) | Requests per Minute (Enterprise) |
|---------|-------------------------------|---------------------------|----------------------------------|
| read | 120 | 600 | 3,000 |
| write | 60 | 300 | 1,500 |
| admin | 30 | 150 | 750 |
Was this page helpful?