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 cuando el espejo está desactualizado y no se pudo sincronizar.
sync object
wabaIdstring
totalinteger
createdinteger
updatedinteger
removedinteger
truncatedboolean
true cuando Meta tenía más plantillas que el límite pedido.
syncedAtstring<date-time>
syncErrorstring
Presente solo cuando la sincronización falló.
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"
}