Integrate with the WhatsApp API
On this page
Open the API documentation
Use the Smart CRM Public API to connect an external system to your Smart CRM WhatsApp Business setup. The reference shows the available operations, request fields, response codes and examples.
Prepare your workspace
- Connect your WhatsApp Business number and confirm that it shows as connected.
- If your workspace has API access, open Settings → API Keys → Manage API Keys and select Create new key. Ask your workspace administrator if you cannot see the API Keys page.
- Store the key on your integration server and send it in the
x-api-keyrequest header. Keep it out of browser code and public examples.
Send a test message and check delivery
- Open Messages in the API reference and review Send a WhatsApp message. Use a test number you control and a message or approved template permitted for that recipient.
- Save the returned message ID. Use Get delivery status for a single message in the reference to check whether the message was delivered.
- For a broadcast, use an approved WhatsApp template and save the broadcast ID to track progress. The reference also covers listing messages, retrieving media and managing templates.
If you want to send messages directly in Smart CRM, see Send a WhatsApp broadcast.
