Skip to main content
POST
Refresh WhatsApp templates

Authorizations

Authorization
string
header
required

A project API key, created in the dashboard.

Headers

Idempotency-Key
string

A unique key that makes the request safe to retry, such as a V4 UUID. 1 to 255 printable ASCII characters.

Required string length: 1 - 255

Body

application/json

Unknown parameters return 422.

agent_id
string
required
Maximum string length: 64

Response

The templates were refreshed, or another refresh started in the last 30 seconds.

object
any
required
agent
object
required

The agent this belongs to.

refreshed
boolean
required

false if another refresh started less than 30 seconds ago, so this request didn't contact Meta. That refresh may still be running, or may have failed.