Set Whats App Template Event Override
Select an approved, account-bound lab template for an automatic WhatsApp event.
Select an approved, account-bound lab template for an automatic WhatsApp event.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
Value in
- "order_received_lab"
- "order_submitted_clinic"
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/whatsapp-templates/event-overrides/order_received_lab" \ -H "Content-Type: application/json" \ -d '{ "templateId": "string" }'{ "data": [ { "eventKey": "order_received_lab", "selectedTemplateId": "string", "selectedTemplate": { "id": "string", "displayName": "string", "language": "string" }, "effectiveSource": "override", "fallbackReason": "not_configured", "requiredVariables": { "property1": "string", "property2": "string" }, "accountState": "unbound" } ]}Register Whats App Template POST
Register a draft WhatsApp template with Twilio for WhatsApp approval. Creates the content in Twilio, submits for approval, and updates the template status to pending. Lab-only operation.
Sync All Whats App Templates POST
Sync the approval status of all pending WhatsApp templates with Twilio. Updates each template's status to approved, rejected, or keeps as pending. Lab-only operation.