Skip to main content

Get WABA Templates by Number

List the WhatsApp Business API (WABA) message templates available for a given phone number. Use this to obtain template names and UUIDs before sending template messages via the Send WABA Message endpoint.

info

Requires a WhatsApp Business API (WABA) channel connected to your 2Chat account. See How to connect WABA to 2Chat.

Query parameters

ParameterDescriptionExample
phone_numberThe WABA number in E.164 format: no spaces, with leading plus sign. Required.+5215512345432
pageZero-based page index for pagination. Default is 0.0

Invocation

curl --request GET \
--url 'https://api.p.2chat.io/open/waba/templates?phone_number=+5215512345432&page=0' \
--header 'Content-Type: application/json' \
--header 'X-User-API-Key: your_api_key_here'

Response

The API returns a paginated list of templates for the given WABA number.

{
"success": true,
"templates": [
{
"uuid": "TMP1b44a079-c75c-4403-bc8f-a75c4ce5cd23",
"name": "template_for_tracking_utilities",
"status": "APPROVED",
"category": "UTILITY",
"template_content": "2Chat Team\nHi {{1}}.\n\nWe are writing you to ask you if you receive our package with track-id {{2}}.\n\nPlease confirm",
"description": null,
"updated_at": "2026-02-03T20:09:28Z",
"waba": {
"uuid": "WAN3ff9fb72-6ecd-4c2a-9055-4836d8ed33d7",
"friendly_name": "2Chat Gupshup Integration",
"iso_country_code": "US",
"verified_name": "APPROVED",
"phone_number": "+16173518454",
"connection_status": "C",
"created_at": "2025-11-19 23:04:18",
"updated_at": "2026-02-02 19:41:12"
}
}
],
"total": 21,
"next_page": 1
}
FieldDescription
successtrue when the request succeeded
templatesArray of template objects
templates[].uuidTemplate UUID; use this as template_uuid when sending a template message
templates[].nameTemplate name (lowercase with underscores)
templates[].statusMeta approval status: APPROVED, PENDING, REJECTED, or FAILED
templates[].categoryTemplate category (e.g. UTILITY, MARKETING, AUTHENTICATION)
templates[].template_contentFull template text including header, body, footer and placeholders ({{1}}, {{2}}, …)
templates[].descriptionOptional template description, or null
templates[].updated_atLast update time (ISO 8601)
templates[].wabaWABA (WhatsApp Business Account) this template belongs to
templates[].waba.uuidWABA UUID
templates[].waba.friendly_nameDisplay name of the WABA connection
templates[].waba.iso_country_codeTwo-letter country code (e.g. US)
templates[].waba.verified_nameMeta verification status (e.g. APPROVED)
templates[].waba.phone_numberWABA phone number in E.164 format
templates[].waba.connection_statusConnection status (e.g. C = connected)
templates[].waba.created_atWABA creation timestamp
templates[].waba.updated_atWABA last update timestamp
totalTotal number of templates across all pages
next_pageZero-based index of the next page, or null when there are no more pages