Connecting WhatsApp Business API
Link your WhatsApp Business Account, register the number with the Cloud API, and point Meta's webhook at AutoMyra.
On this page
AutoMyra sends and receives WhatsApp messages through Meta's official WhatsApp Cloud API. Setting it up has three steps, all on WhatsApp → Settings (the WhatsApp Business Setup page).
Before you start
- A Meta Business account with a WhatsApp Business Account (WABA).
- A phone number that is not already registered on the WhatsApp or WhatsApp Business app.
- Permission in AutoMyra to manage WhatsApp settings.
Step 1 — Connect a WhatsApp number
On WhatsApp Business Setup, choose one of the connect options:
| Option | When to use it |
|---|---|
| Embedded Signup | Sign in with Meta in a popup and pick your business and number. The quickest route when it is offered. |
| OAuth redirect | Leave AutoMyra, approve access on Meta, and come back. |
| Enter credentials | Paste your Phone number, Phone number ID, WhatsApp Business Account ID and a Permanent access token, then select Connect. |
When it works, the page shows Connected and the number appears under Connected numbers.
Step 2 — Register it with the Cloud API
Until the number is registered, it cannot send messages. When AutoMyra asks, enter the number's existing 6-digit PIN to register it with the WhatsApp Cloud API.
Step 3 — Point Meta's webhook at AutoMyra
Incoming messages and delivery receipts reach AutoMyra through a webhook.
- In AutoMyra, find the Webhook card on WhatsApp Business Setup and copy the Callback URL and Verify token.
- In your Meta app, go to WhatsApp → Configuration → Webhooks.
- Paste the callback URL and verify token, and subscribe to the
messagesfield.
Meta does not tell AutoMyra whether the subscription exists, so the checklist keeps this step as a reminder. Send a message to your number to confirm it arrives in WhatsApp → Chats.
Optional — flow encryption key
If you use WhatsApp Flows, generate the flow encryption key from the same page.
Next steps
Was this article helpful?
Still need help? Contact Support