Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

Set Up Messaging Request Templates

POST /tenants/{tenant}/messaging/request-templates

Set up WhatsApp templates: creates in the practice's own Twilio account, and submits to Meta as Utility templates in en_GB with Sodium's starting wording, each kind's template the practice lacks, and sends Sodium's wording again as a change for one whose live version Meta disabled with no change waiting. Safe to repeat: what exists is left as it is. Returns the six as they now stand; a kind the service refused stays needsSetUp. 409 messaging_no_whatsapp_sender until the practice's own number is connected to WhatsApp, or when messaging is off or not set up; 503 when the service or Twilio is unavailable.

Requires: Admin on Messaging.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

Responses

200 OK
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

Try it