Connect WhatsApp

POST /tenants/{tenant}/practice/messaging/whatsapp

Connects the practice's own number to WhatsApp once Meta's Embedded Signup has finished, with the WhatsApp Business Account it created and the display name. Returns the practice's messaging, whatsApp Connecting: the number becomes the WhatsApp sender when Meta puts it online (minutes, at most 48 hours), or the connection fails with Meta's reasons; the user who connected is told either way. 400 when Twilio refuses (its reason in the message); 409 messaging_no_sender unless the practice is Active with its own number, messaging_whatsapp_not_configured while WhatsApp cannot be connected here yet, or when it is connecting or connected already.

Requires: Admin on Messaging.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

{
  "wabaId": "string",
  "displayName": "string"
}

Responses

400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
409 Conflict
503 Service Unavailable