Skip to main content

List Message Templates

Retrieve all WhatsApp message templates with filtering and pagination.

GET/whatsapp/templates/

Headers

NameValue
AuthorizationBearer Access Token

Query Parameters

NameTypeRequiredDescription
categorystringNoFilter by template category (list format: ['MARKETING', 'UTILITY', 'AUTHENTICATION'])
statusstringNoFilter by template status (list format: ['APPROVED', 'PENDING'])

Response

{
"message": "Successfully retrieved all templates",
"success": true,
"data": {
"next": "<URL to next page>",
"previous": "<URL to previous page>",
"count": 25,
"results": [
{
"id": 1,
"name": "welcome_message",
"template_id": "<WhatsApp Template ID>",
"status": "<template status (APPROVED/PENDING/REJECTED)>",
"category": "<template category (MARKETING/UTILITY/AUTHENTICATION)>",
"language": "en_US",
"business_account": "<Business Account ID in FreJun>",
"created_at": "<created_at timestamp E.g. 2026-01-30T15:51:42.669623>",
"updated_at": "<updated_at timestamp E.g. 2026-01-30T15:51:42.669659>",
"components": [
{
"type": "BODY",
"text": "Hello {{1}}, your appointment is on {{2}}.",
"example": {
"body_text": [
[
"John",
"January 15th"
]
]
}
}
]
}
]
}
}