Template Message FAILED

Webhook event structure and field descriptions for template message failed events in WATI platform

{
  "eventType": "templateMessageFailed",
  "statusString": "Failed",
  "localMessageId": "fd29c1f-9033-59b2-7d72-5ac964c4c8a7",
  "failedCode": "131026",
  "failedDetail": "Message undeliverable",
  "id": "66b2531d4931581381944612",
  "whatsappMessageId": "wamid.HBgMOAE4NjY4NDkzNjAxFAIAERgSOTEENzFCNjEwMkNDNENGQUJGAA==",
  "conversationId": "66b1fb044045cedb1f19538e",
  "ticketId": "66bdfba190194752bb7326d7",
  "text": null,
  "type": "template",
  "timestamp": "1665645642",
  "assigneeId": null,
  "operatorEmail": "[email protected]"
}

Field Description

FieldTypeDescription
eventTypeStringThe type of webhook event that was triggered
statusStringStringHuman-readable status description of the message
localMessageIdStringLocal unique identifier for the message within WATI's system
failedCodeStringError code indicating the specific reason for message failure
failedDetailStringDetailed description of why the message failed to deliver
idStringUnique identifier for this message within the WATI system
whatsappMessageIdStringWhatsApp's internal message identifier
conversationIdStringUnique identifier for the conversation thread
ticketIdStringSupport ticket ID associated with this conversation
textStringThe actual message content. null for template messages
typeStringMessage type classification
timestampStringUnix timestamp indicating when the message was processed
assigneeIdStringID of the agent assigned to handle this conversation. null if unassigned
operatorEmailStringEmail address of the operator/agent who sent the message