Skip to main content
PATCH
Update template tracking

Authorizations

Authorization
string
header
required

Organization API key, sent as Authorization: Bearer boom_org_....

Path Parameters

id
string
required

Template id.

Minimum string length: 1

Body

application/json
tracking
object
required

Response

Success

id
string
required

Template id.

name
string
required

Template name (unique per WhatsApp account, i.e. across all its numbers).

language
string
required

WhatsApp language code the template was created for, e.g. es_MX.

category
enum<string>
required
Available options:
UTILITY,
MARKETING,
AUTHENTICATION
contentType
enum<string>
required
Available options:
TEXT,
MEDIA,
QUICK_REPLY,
CALL_TO_ACTION,
CARD
content
any
required

The message content (shape per contentType).

variables
object | null
required

Example values for {{1}}-style placeholders.

phoneNumbers
string[]
required

WhatsApp numbers this template can be sent from: every number on the WhatsApp account it was created on.

whatsappAccount
object | null
required

The WhatsApp account (WABA) the template belongs to. Only its numbers can send it. Null if that account is no longer connected.

status
enum<string>
required

DRAFT (not yet submitted), PENDING (in WhatsApp review, typically 24-48h), APPROVED, or REJECTED (see rejectionReason).

Available options:
DRAFT,
PENDING,
APPROVED,
REJECTED
rejectionReason
string | null
required
tracking
object | null
required

Button tracking, or null for an untracked template. content shows the button URLs as you typed them; the tags are added when each message is sent.

createdAt
string
required

ISO 8601 timestamp.

updatedAt
string
required

ISO 8601 timestamp.