Skip to main content
GET
List WhatsApp templates

Authorizations

X-API-Key
string
header
required

API key required for all endpoints

Query Parameters

page
integer
default:1
Required range: x >= 1
per_page
integer
default:20
Required range: 1 <= x <= 100
customer_id
string<uuid>

Filter templates by customer ID

q[name_cont]
string

Filter templates by name (contains)

q[language_code_eq]
string

Filter templates by exact language code match

q[category_eq]
enum<string>

Filter templates by category

Available options:
MARKETING,
UTILITY,
AUTHENTICATION
q[status_eq]
enum<string>

Filter templates by status

Available options:
draft,
submitted,
approved,
rejected,
disabled
q[customer_id_eq]
string<uuid>

Filter templates by customer ID (Ransack syntax)

business_account_id
string

Filter templates by WhatsApp Business Account ID

q[business_account_id_eq]
string

Filter templates by WhatsApp Business Account ID (Ransack syntax)

whatsapp_config_id
string<uuid>

Filter templates by WhatsApp configuration ID

q[whatsapp_config_id_eq]
string<uuid>

Filter templates by WhatsApp configuration ID (Ransack syntax)

Response

A list of WhatsApp templates

data
object[]
meta
object