MCP is live.Set upAsk the community
OmniDimension
WhatsApp

Sync templates

Pull the number's templates and their 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.

Set up WhatsApp first. Connect a WhatsApp number in the dashboard or with Connect numbers. Included on every paid plan. See plans.

POST/whatsapp/numbers//templates/sync
Path parameters
number_idrequired
curl -X POST 'https://backend.omnidim.io/api/v1/whatsapp/numbers/{number_id}/templates/sync' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Example response
synthetic
{
  "count": 0,
  "kept": [
    "string"
  ],
  "synced_at": "string"
}

Authorization

BearerAuth
headerAuthorizationBearer <token>

Bearer token authentication. Obtain your API key from the OmniDimension dashboard.

Path Parameters

number_id*integer

Id of a WhatsApp number in your workspace, from listWhatsappNumbers. A number in another workspace answers 404.

Response body

application/json

Response Body

The templates were synced.

application/json
count?integer

How many templates the provider listed.

kept?array<string>

Templates the provider no longer lists but that a campaign still uses, so they were not deleted.

synced_at?string