Connect WhatsApp numbers
Connect numbers from your WhatsApp Business Account with your Meta access token.
Set up WhatsApp first. Connect a WhatsApp number in the dashboard or with Connect numbers. Included on every paid plan. See plans.
List the numbers first with Preview numbers, then pass the ids you want.
The token must never expire and must carry both
whatsapp_business_management and whatsapp_business_messaging. A system
user token does. Add app_secret to receive replies. Without it the number
can send but not receive.
Connecting a number again updates it. Send a new access_token or
app_secret to change either. One number failing does not stop the others.
It is listed in failed with the reason.
Body
waba_idstringrequiredYour WhatsApp Business Account id, from WhatsApp Manager.
access_tokenstringrequiredA Meta access token that never expires, with both WhatsApp permissions. Stored, never returned.
phone_number_idsstring[]requiredMeta's ids for the numbers to connect, as Preview numbers lists them.
Items at least 1
app_secretstringYour Meta app's secret. Turns on replies. Stored, never returned.
Was this page helpful?
