Authorization header. The key identifies your workspace and authorizes access to endpoints that are available to API clients.
API keys
Create and manage API keys in the DialNexa dashboard under Settings > API Keys. An API key has two parts separated by a colon. The full value must be sent as the Bearer token.Send the Bearer token
Pass the API key in theAuthorization header on every API-key request.
401 Unauthorized.
API access
Every operation listed under Endpoints supports Bearer API-key authentication.Common mistakes
- Sending only the key ID instead of the full
key_id:secretvalue. - Using
x-api-keyinstead of the BearerAuthorizationheader for v1 endpoints. - Omitting
/v1from the configured API base URL.
Key management best practices
- Use one key per environment, such as development, staging, and production.
- Rotate keys on a schedule and immediately after suspected exposure.
- Store keys in environment variables or a secrets manager.
- Remove unused keys from the dashboard.
Webhook signature verification
Incoming webhook payloads from DialNexa are signed with HMAC-SHA256 using the secret configured for that webhook. Verify thex-nexa-signature header before trusting the payload.