Skip to main content
Two endpoints return your WhatsApp templates: the primary OneXtel /templates/fetch endpoint (filterable, paginated), and a Meta-passthrough endpoint used for CleverTap integrations.

OneXtel Fetch Templates

Endpoint

Headers

string
required
API key generated for the TUC.
string
application/json
string
required
application/json

Request body

string
required
Messaging channel. Must be WhatsApp.
string
required
WhatsApp Business Account (WABA) identifier.
integer
required
Page number for pagination. Must be a non-negative integer.
integer
required
Number of records to return per page.
string
Template category filter, e.g. Marketing, Utility, Authentication.
string
Filters templates created on or after the given time. Local datetime format YYYY-MM-DDTHH:mm:ss.
string
WhatsApp template name to filter by.
string
Template language code, e.g. en_US.
string
Template lifecycle status filter: Approved, Pending, or Rejected.
Send channel, wabaId, pageNo, and limit on every request. Filter by date with createdDate.

cURL

Response

object
Echoes back the pagination request.
array
Array of template objects matching the filter.

CleverTap Fetch Templates

A separate GET endpoint returns templates directly in Meta’s native format, intended for CleverTap integrations.

Endpoint

Headers

string
required
API key for the TUC.
string
required
WhatsApp Business Account ID.

Query parameters

integer
Maximum number of templates to return. Example: 500.

cURL