Connect

Connect WhatsApp from Embedded Signup

Exchange the authorization code Meta Embedded Signup returns to your browser SDK. This is the headless completion path for WhatsApp: the code never passes through a redirect_uri, so POST /v1/connect/{platform} cannot accept it.

post/v1/connect/whatsapp/embedded-signup

Request body

codestring required

Authorization code from the WA_EMBEDDED_SIGNUP postMessage

profileIdstring required
wabaIdstring

WhatsApp Business Account id, when the SDK reported one

phoneNumberIdstring
isCoexistenceboolean

Number is also live in the WhatsApp Business app

expectedPhoneNumberstring

Rejects the connect when Meta returns a different number

Response

Number connected

Changes

Changed in 1 of the 33 revisions of this API.1