MessagingWhatsAppTemplateDto

A WhatsApp template the practice can send: one of the Twilio Content templates in its own account

Properties

Name Type Description
sidstring

The Content SID (HX…) to send as contentSid

The Content SID (HX…) to send as contentSid

friendlyNamestring

Its name in Twilio

Its name in Twilio

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

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",
  "friendlyName": "string",
  "language": "string",
  "body": "string",
  "variables": {}
}

Used By Operations