API by router
Whatsapp embedded signup
GET
code*Codestate*StateSuccessful Response
application/json- response
display_phone?string|nullerror?string|nullinstance_id*Instance IdFormat
uuidphone_number_id?string|nullsuccess*Successwaba_id?string|nullcurl -X GET 'https://example.com/v1/channels/whatsapp/callback?code=string&state=string'Example Response
{ "display_phone": "string", "error": "string", "instance_id": "06587974-2dbe-4e10-8bf9-38cce0f5a366", "phone_number_id": "string", "success": true, "waba_id": "string"}POST
HTTPBearerheader
AuthorizationBearer <token>instance_id*Instance IdFormat
uuidX-Api-Key?string|nullSuccessful Response
application/json- response
oauth_url*Oauth Urlstate*Statecurl -X POST 'https://example.com/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/channels/whatsapp/connect'Example Response
{ "oauth_url": "string", "state": "string"}