Whatsapp Connect

Complete Embedded Signup: exchange the code, store the connection, and onboard the phone number (register + subscribe webhooks).

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
codestringRequired>=1 character
Exchangeable token code from Embedded Signup
waba_idstring or nullOptional

Customer WABA ID from the ES message event. Optional: when the browser handoff is blocked we discover it from the exchanged token.

phone_number_idstring or nullOptional

Customer business phone number ID (absent for WABA-only signups)

business_idstring or nullOptional
Customer business portfolio ID
agent_idstring or nullOptional
Optional agent to attach the number to

Response

Successful Response

Errors

422
Unprocessable Entity Error