Skip to main content
Your server can integrate without the built-in AI or an open dashboard. Start with read access and explicitly approve any WhatsApp effects in your own host. An owner links and confirms the business number. Each customer key belongs to that one phone. Keep the service online.

2. Create a scoped customer key

In Developer, choose a name, expiry, exact conversations and permissions. Start with status:read, chats:read, messages:read and events:read as needed. Select messages:write separately to send. Copy the secret once into your backend’s secret store.

3. Verify from your backend

Replace the example origin with your dedicated installation address. The domain below is a placeholder. Examples only copy text; this documentation cannot execute API calls.
Use the exact returned chat ID. IDs are opaque; never invent phone/LID aliases.

4. Receive events and reply deliberately

Persist an event cursor or signed webhook event ID, fetch selected-chat history for content, then run your own agent policy. A callback duplicate must never create a second send. Send using a stable Idempotency-Key, save the returned request identifier and inspect uncertain results using the original key. See replies and attachments and safe requests. The SDK and MCP guide covers downloads and explicit host approval for writes. The endpoint index and API reference describe the current contract.