TemplateListResponse
data object[]
Array [
idstring
namestring
Example:
confirmacao_pedidolanguagestring
Example:
pt_BRstatusstring
Possible values: [APPROVED, PENDING, REJECTED, PAUSED, DISABLED]
categorystring
Possible values: [MARKETING, UTILITY, AUTHENTICATION]
componentsobject[]
quality_score objectnullable
scorestring
Possible values: [GREEN, YELLOW, RED, UNKNOWN]
rejected_reasonstringnullable
previous_categorystringnullable
synced_atstring<date-time>
sync_sourcestring
Possible values: [sync, webhook, local]
deleted_atstring<date-time>nullable
]
wabaIdstring
syncedAtstring<date-time>nullable
staleboolean
true when the mirror is outdated and the sync could not run.
sync object
wabaIdstring
totalinteger
createdinteger
updatedinteger
removedinteger
truncatedboolean
true when Meta had more templates than the requested limit.
syncedAtstring<date-time>
syncErrorstring
Present only when the sync failed.
TemplateListResponse
{
"data": [
{
"id": "string",
"name": "confirmacao_pedido",
"language": "pt_BR",
"status": "APPROVED",
"category": "MARKETING",
"components": [
{}
],
"quality_score": {
"score": "GREEN"
},
"rejected_reason": "string",
"previous_category": "string",
"synced_at": "2024-07-29T15:51:28.071Z",
"sync_source": "sync",
"deleted_at": "2024-07-29T15:51:28.071Z"
}
],
"wabaId": "string",
"syncedAt": "2024-07-29T15:51:28.071Z",
"stale": true,
"sync": {
"wabaId": "string",
"total": 0,
"created": 0,
"updated": 0,
"removed": 0,
"truncated": true,
"syncedAt": "2024-07-29T15:51:28.071Z"
},
"syncError": "string"
}