Lewati ke konten

list_templates

GET
/v1/templates
curl --request GET \
--url https://example.com/v1/templates \
--header 'Authorization: Bearer <token>'

Lists templates on the WhatsApp accounts this API key can use. Filter with category, status, name or waba_id; there is no phone_number_id filter. Templates created on a virtual phone number may not appear here yet; use the template.status webhook for their status.

limit
integer format: int64
after
string | null

Cursor for pagination. Format: “timestamp_iso|uuid”

category
string | null

Filter by template category (e.g. UTILITY, MARKETING, AUTHENTICATION)

status
string | null

Filter by template status (e.g. APPROVED, PENDING, REJECTED)

name
string | null

Filter by template name (case-insensitive substring match)

waba_id
string | null

Filter by WABA ID (meta_waba_id)

List of templates

Media type application/json
object
data
required
Array<object>
object
category
required
string
channel_id
string | null
components
required
object | null
created_at
required
string format: date-time
id
required
string
language
required
string
message_send_ttl_seconds
integer | null format: int32
meta_waba_id
string | null
name
required
string
parameter_format
string | null
quality_score
string | null
status
required
string
paging
required
object
next
string | null
Example generated
{
"data": [
{
"category": "example",
"channel_id": "example",
"components": "example",
"created_at": "2026-04-15T12:00:00Z",
"id": "example",
"language": "example",
"message_send_ttl_seconds": 1,
"meta_waba_id": "example",
"name": "example",
"parameter_format": "example",
"quality_score": "example",
"status": "example"
}
],
"paging": {
"next": "example"
}
}

Unauthorized