Replace Messaging WhatsApp Template

POST /tenants/{tenant}/messaging/whatsapp-templates/{sid}/replace

Replaces a WhatsApp template: Twilio cannot change one once submitted, so a new one is made and submitted to Meta (a new review), then the old one deleted. Returns the new one, with its new sid. An old one that could not be deleted stays listed. Not safe to repeat: each call makes a new template. The same 400s and 409s as creating; 404 for a template the practice does not have.

Requires: Admin on Messaging.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

sid* path string
{
  "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