Properties
| Name | Type | Description |
|---|---|---|
| sid | string | 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 | ||
| language | string | Its language, e.g. en |
Its language, e.g. en | ||
| body | string | The text with its placeholders, e.g. "Your appointment is on {{1}}" |
The text with its placeholders, e.g. "Your appointment is on {{1}}" | ||
| variables | object | Each variable's name and the sample value Twilio holds for it |
Each variable's name and the sample value Twilio holds for it | ||
| button | MessagingWhatsAppTemplateButtonDto | |
| placeholderTokens | object | What fills each placeholder, saved with this version: placeholder number to a Liquid token rendered per recipient |
What fills each placeholder, saved with this version: placeholder number to a Liquid token rendered per recipient | ||
| approvalStatus | string | WhatsApp's approval as Twilio reports it (approved, pending, rejected, paused, unsubmitted…); |
WhatsApp's approval as Twilio reports it (approved, pending, rejected, paused, unsubmitted…); | ||
| category | string | WhatsApp's category as Twilio reports it (UTILITY, MARKETING, AUTHENTICATION): the one it was submitted in, or the |
WhatsApp's category as Twilio reports it (UTILITY, MARKETING, AUTHENTICATION): the one it was submitted in, or the | ||
| approvalName | string | 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 | ||
| rejectionReason | string | Why Meta rejected it; null unless rejected with a reason |
Why Meta rejected it; null unless rejected with a reason | ||
| createdDate | string | When it was made (UTC) |
When it was made (UTC) | ||
JSON Example
{
"sid": "string",
"language": "string",
"body": "string",
"variables": {},
"button": {
"title": "string",
"url": "string"
}
}