GuideLab Docs

Connect a WhatsApp number from Meta Embedded Signup

POST
/integrations/meta-whatsapp/embedded-signup

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/integrations/meta-whatsapp/embedded-signup" \  -H "Content-Type: application/json" \  -d '{    "code": "string",    "wabaId": "string",    "phoneNumberId": "string"  }'
{  "connection": {    "id": "string",    "provider": "meta_whatsapp",    "channel": "whatsapp",    "address": "string",    "status": "pending",    "statusMessage": "string",    "lastInboundAt": "string",    "createdAt": "string"  }}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}