Update Whats App Template
Update a WhatsApp template's name, body, variables, or other properties. Only draft templates can be edited. Lab-only operation.
Update a WhatsApp template's name, body, variables, or other properties. Only draft templates can be edited. Lab-only operation.
__Secure-guidelab-prod.session_token<token>
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
id*string
Length
1 <= length <= 200Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/whatsapp-templates/550e8400-e29b-41d4-a716-446655440000" \ -H "Content-Type: application/json" \ -d '{}'{ "template": { "id": "string", "organizationId": "string", "name": "string", "displayName": "string", "description": "string", "language": "string", "category": "string", "contentType": "string", "body": "string", "variables": { "property1": "string", "property2": "string" }, "status": "string", "contentSid": "string", "rejectionReason": "string", "lastSyncedAt": "string", "lastSyncError": "string", "usageCount": 0, "successfulSendCount": 0, "providerScope": "unbound", "accountState": "unbound", "providerOperation": { "id": "string", "phase": "ready_create", "state": "pending" }, "compatibleEvents": [ "order_received_lab" ], "selectedEvents": [ "order_received_lab" ], "createdBy": "string", "createdAt": "string", "updatedAt": "string" }}Empty
Empty
Empty