Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

MessagingWhatsAppTemplateVersionDto

One version of a WhatsApp template: a Twilio Content template in the practice's own account, with Meta's review

Properties

Name Type Description
sidstring

The version's Content SID (HX…); a sent message keeps the SID of the version it was sent with

The version's Content SID (HX…); a sent message keeps the SID of the version it was sent with

languagestring

Its language, e.g. en

Its language, e.g. en

bodystring

The text with its placeholders, e.g. "Your appointment is on {{1}}"

The text with its placeholders, e.g. "Your appointment is on {{1}}"

variablesobject

Each variable's name and the sample value Twilio holds for it

Each variable's name and the sample value Twilio holds for it

buttonMessagingWhatsAppTemplateButtonDto
placeholderTokensobject

What fills each placeholder, saved with this version: placeholder number to a Liquid token rendered per recipient
({"1": "{{ Contact.FirstName }}", "2": "{{ Url }}"}; {{ Url }} is the recipient's link, of which a button's
placeholder takes the part after the button's fixed address; {{ Outstanding }} the chase's "3 things"). Request
and chase texts render every entry; null when none was saved (a step's template, or one made in Twilio).

What fills each placeholder, saved with this version: placeholder number to a Liquid token rendered per recipient
({"1": "{{ Contact.FirstName }}", "2": "{{ Url }}"}; {{ Url }} is the recipient's link, of which a button's
placeholder takes the part after the button's fixed address; {{ Outstanding }} the chase's "3 things"). Request
and chase texts render every entry; null when none was saved (a step's template, or one made in Twilio).

approvalStatusstring

WhatsApp's approval as Twilio reports it (approved, pending, rejected, paused, unsubmitted…);
null when none. Only an approved template can be sent outside the 24-hour window.

WhatsApp's approval as Twilio reports it (approved, pending, rejected, paused, unsubmitted…);
null when none. Only an approved template can be sent outside the 24-hour window.

categorystring

WhatsApp's category as Twilio reports it (UTILITY, MARKETING, AUTHENTICATION): the one it was submitted in, or the
one Meta moved it to; null when never submitted

WhatsApp's category as Twilio reports it (UTILITY, MARKETING, AUTHENTICATION): the one it was submitted in, or the
one Meta moved it to; null when never submitted

approvalNamestring

The name it was submitted to Meta under (fee_reminder_3fa9c1); null when never submitted

The name it was submitted to Meta under (fee_reminder_3fa9c1); null when never submitted

rejectionReasonstring

Why Meta rejected it; null unless rejected with a reason

Why Meta rejected it; null unless rejected with a reason

createdDatestring

When it was made (UTC)

When it was made (UTC)

JSON Example

{
  "sid": "string",
  "language": "string",
  "body": "string",
  "variables": {},
  "button": {
    "title": "string",
    "url": "string"
  }
}

Contained in Schemas