Template Message Sent

{
  "eventType": "templateMessageSent_v2",
  "localMessageId": "84689938-5e2-877821d672c2",
  "id": "693fd8ee21f81",
  "whatsappMessageId": "wamid.HBgNODEYEjQ3RDMzQzM2QjM3QjU1ODQ4RQA=",
  "templateId": "6929b",
  "templateName": "test_jm4",
  "created": "2025-12-15T09:46:23.4083984Z",
  "conversationId": "68b68470e93cc",
  "ticketId": "693fd6ab545f82",
  "text": " \n\n Make your messages personal using variables like name and get more replies!",
  "operatorEmail": "[email protected]",
  "waId": "86151285",
  "type": "template",
  "statusString": "SENT",
  "sourceType": "WEB",
  "headerLink": null,
  "headerType": null,
  "templateContent": {
    "headerText": "Welcome to our service",
    "footerText": "Reply STOP to unsubscribe",
    "buttons": [
      {
        "index": 0,
        "cardIndex": null,
        "type": "quick_reply",
        "text": "Yes, I'm interested",
        "url": null,
        "targetUrl": null,
        "originalUrl": null,
        "phoneNumber": null
      },
      {
        "index": 1,
        "cardIndex": null,
        "type": "url",
        "text": "Visit Website",
        "url": "https://example.com/track/abc123",
        "targetUrl": "https://example.com/page",
        "originalUrl": "https://example.com/page/{{1}}",
        "phoneNumber": null
      },
      {
        "index": 2,
        "cardIndex": null,
        "type": "call",
        "text": "Call Us",
        "url": null,
        "targetUrl": null,
        "originalUrl": null,
        "phoneNumber": "+1234567890"
      }
    ]
  },
  "channelId": null,
  "channelPhoneNumber": "174742",
  "bsuid": "HK.xxxxxxxxxxxxx",
  "parentBsuid": "HK.ENT.xxxxxxxxxxxxx",
  "username": "@bob"
}

Field Descriptions

Field NameTypeDescription
eventTypestringEvent type, here "templateMessageSent_v2" indicates a template message has been sent (version 2)
localMessageIdstringLocal message identifier used by the client for tracking and idempotency
idstringUnique identifier for the message
whatsappMessageIdstringMessage ID generated by the WhatsApp platform
templateIdstringUnique identifier for the template used to send this message
templateNamestringName of the template used for sending the message
createdstringTimestamp when the message was created (ISO 8601 format)
conversationIdstringUnique identifier for the conversation, used to associate all messages within the same conversation
ticketIdstringTicket ID used for ticket management in customer service systems
textstringText content of the template message
operatorEmailstringEmail address of the operator/customer service representative who sent the message
waIdstringWhatsApp ID, typically the complete phone number with country code
typestringMessage type, supported values include: "image", "text", "document", "location", "voice", "audio", "button", "interactive", "reaction", "video", "sticker", "contacts", "order", "catalog", "media_placeholder", "template"
statusStringstringMessage status string, here "SENT" indicates the message has been sent successfully
sourceTypestringSource from which the message was sent, "WEB" indicates it was sent from the web interface
headerLinkstring/nullLink associated with the template header, null if no header link is present
headerTypestring/nullType of header in the template (e.g., "text", "image", "video"), null if no header is present
templateContentobject/nullStructured content of the sent template, including header, footer, and buttons. Only present when the template contains these elements.
templateContent.headerTextstring/nullResolved header text of the template
templateContent.footerTextstring/nullFooter text of the template
templateContent.buttonsarrayList of buttons included in the template
templateContent.buttons[].indexnumberButton position index (0-based)
templateContent.buttons[].cardIndexnumber/nullCarousel card index (null if not a carousel template)
templateContent.buttons[].typestringButton type: "quick_reply", "url", or "call"
templateContent.buttons[].textstringButton display text
templateContent.buttons[].urlstring/nullTracking-wrapped URL for URL-type buttons (may differ from targetUrl if click tracking is enabled)
templateContent.buttons[].targetUrlstring/nullResolved target URL with dynamic parameters substituted
templateContent.buttons[].originalUrlstring/nullOriginal URL template before parameter substitution (e.g., contains {{1}} placeholders)
templateContent.buttons[].phoneNumberstring/nullPhone number for call-type buttons
channelIdstring/nullIdentifier of the channel through which the message was sent, null if using default channel
channelPhoneNumberstringPhone number of the channel from which the message was sent
bsuidstring/nullBusiness Solution User ID — a stable cross-channel identifier for the contact. Only present when available.
parentBsuidstring/nullParent BSUID — the enterprise-level identifier. Only present when available.
usernamestring/nullHuman-readable username handle for the contact. Only present when available.