syncWhatsappTemplates
Pull a WhatsApp number's templates and review statuses into your list, especially after creating or editing a template in Meta. Call once per minute per number to avoid 429 errors.
Instructions
Pull the number's templates and review statuses from WhatsApp into your list.
Run it after you create or edit a template in Meta. It runs at most once a
minute per number. A second call inside that minute answers 429.
(Tags: WhatsApp)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"number_id": "<number_id>"
},
"name": "syncWhatsappTemplates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number_id | Yes | Id of a WhatsApp number in your workspace, from [listWhatsappNumbers](/docs/api-reference/whatsapp/listWhatsappNumbers). A number in another workspace answers `404`. |