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

Update Messaging WhatsApp Template

PUT /tenants/{tenant}/messaging/whatsapp-templates/{id}

Saves the whole draft of a WhatsApp template. Text, category and language unchanged from its newest version: only the name is saved and nothing goes to Meta. Otherwise the change is made and submitted to Meta as the pending version (replacing a change already waiting); the live version is not touched and keeps being sent until Meta approves the change. Safe to repeat. Returns the template, with usedBy. The same 400s and 409s as creating; 409 too when workflow steps send the template and the change alters how many placeholders it has (the message names them and says to make a new template instead); 404 for a template the practice does not have.

Requires: Admin on Messaging.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

id* path string (uuid)
{
  "friendlyName": "string",
  "language": "string",
  "category": "Utility",
  "body": "string",
  "samples": {}
}

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
404 Not Found
409 Conflict
503 Service Unavailable