Quickstart
Send your first WhatsApp message in under 60 seconds.
Authentication
Learn how to authenticate requests using your API tokens.
Unified Messaging
Single-step endpoint to dispatch messages and templates directly.
Webhooks
Subscribe to real-time events like incoming messages and updates.
📚 API Categories
Domix AI APIs are organized into three primary categories:1. Unified Messaging API (Recommended)
1. Unified Messaging API (Recommended)
Our high-level messaging engine designed specifically for integrations:
- Single Request: Dispatches plain text or pre-approved WhatsApp templates directly by phone number.
- Automatic Creation: If the customer contact or open conversation does not exist, Domix AI automatically creates or resolves them.
- Endpoint:
POST /developer/api/v1/messages
2. Core CRM & Conversation APIs
2. Core CRM & Conversation APIs
Provides granular control over your customer support infrastructure:
- Contacts: Search contacts by phone or email (
GET /contacts/search), create records, and update custom attributes. - Conversations: Manage statuses (
open,resolved,pending,snoozed) and assign agents or teams. - Messages: Access historical logs, reply to conversations, or add internal staff notes (
private: true). - Inboxes: Retrieve connected communication channels (WhatsApp, Web Chat, Email, API).
3. Real-Time Webhooks
3. Real-Time Webhooks
Stream live data to your backend services:
- Receive immediate HTTP POST notifications for events such as
message_created,conversation_created, andcontact_created. - Ideal for syncing chats with external databases, analytics, or AI pipelines.
🔐 Authentication Overview
Domix AI utilizes API Access Tokens for request authentication.Flexible Header Convention: Domix AI accepts both hyphenated (
api-access-token) and underscored (api_access_token) header formats to ensure seamless compatibility with your programming language and HTTP clients.⚡ Quickstart: Send a Message in 60 Seconds
❓ Frequently Asked Questions (FAQ)
How do I get my API Access Token?
How do I get my API Access Token?
Log in to your Domix AI dashboard at chat.domix.ai, click your profile icon in the bottom-left corner, go to Profile Settings, and copy the token from the Access Token section.
Can I use api-access-token or api_access_token?
Can I use api-access-token or api_access_token?
Yes, Domix AI fully supports both
api-access-token (hyphen) and api_access_token (underscore). Choose whichever fits your HTTP client best.How can I check if a contact exists before creating a new one?
How can I check if a contact exists before creating a new one?
Always execute
GET /api/v1/accounts/{account_id}/contacts/search?q=+966555555555 first. This searches phone numbers, emails, and names, returning the existing contact ID to avoid duplication.How do I send WhatsApp Template messages?
How do I send WhatsApp Template messages?
Use the Unified Messages endpoint (
POST /developer/api/v1/messages) with "message_type": "template" and pass the pre-approved template name, language, and variable components in template_params.How do I receive incoming messages in real-time?
How do I receive incoming messages in real-time?
Register an endpoint via
POST /api/v1/accounts/{account_id}/webhooks subscribed to message_created. Your server will receive an instant JSON payload whenever an incoming message arrives.