Connect Meta WhatsApp channel
Channels
Connect Meta WhatsApp channel
Complete flow to connect a META_WHATSAPP channel to the WhatsApp Official API
POST
Connect Meta WhatsApp channel
Overview
After creating a channel of typeMETA_WHATSAPP, you need to connect it to a WhatsApp Business number. There are two ways:
- Via dashboard — Guided flow directly in the Dashboard
- Via SDK + API — Integrate the connection flow into your system
Connection via dashboard
The simplest way. Go to the Dashboard, select the created channel and follow the guided connection flow.Connection via SDK + API
Use this flow when you want your user to connect the channel from within your system, without needing to access the dashboard. The flow has 3 steps:Frontend — Start connection with SDK
In your application’s frontend, use the SDK to start the connection flow. The SDK will open the WhatsApp authentication process and return the necessary information.
Frontend → Backend — Send data
The SDK returns an object with the connection information. Send this data to your application’s backend:
| Field | Type | Description |
|---|---|---|
wabaId | string | Selected WhatsApp Business Account ID |
phoneId | string | Selected phone number ID |
code | string | Authorization code generated by WhatsApp |
coexistence | boolean | Whether the number is in coexistence mode |
Flow summary
After connection, the channel is ready to send and receive messages. Use the
channelId in the free messages and templates endpoints.Authorizations
Secret Key generated in the Hub Message Security panel
Path Parameters
Channel ID (obtained via Create channel)
Example:
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Body
application/json
Response
Channel connected successfully
Indicates whether the operation was successful