WA.cr APP - API v2
  1. Templates
WA.cr APP - API v2
  • API v2 Documentation
    • Account
      • Get Account Info
      • Get Usage Statistics
      • Get Plan Limits
    • Authentication (OTP Verification)
      • Send OTP/Verification Code
      • Resend OTP
      • Verify OTP
      • Check OTP Status
      • List Authentication Templates
    • Comments
      • Get Comments
      • Add Comment
    • Contacts
      • List Contacts
      • Create Contact
      • Get Contact
      • Update Contact
      • Delete Contact
      • Batch Create Contacts
      • Batch Delete Contacts
    • Groups
      • List Groups
      • Create Group
      • Get Group
      • Update Group
      • Delete Group
      • Add Contacts to Group
      • Remove Contacts from Group
    • Messages
      • Send Text Message
      • Send Template Message
      • Send Media Message
      • Send Interactive Message
      • List Messages
      • Get Message
    • Sources
      • List Sources
      • Create Source
      • Get Source
      • Update Source
      • Delete Source
    • Statuses
      • List Statuses
      • Create Status
      • Get Status
      • Update Status
      • Delete Status
    • Templates
      • List Templates
        GET
      • Sync Templates from WhatsApp
        POST
      • Get Template
        GET
  1. Templates

List Templates

GET
/templates
Retrieve a paginated list of WhatsApp message templates for your account.
Required Scope: templates:read

Query Parameters#

ParameterTypeDescription
pageintegerPage number (default: 1)
per_pageintegerItems per page (default: 15, max: 100)
sortstringSort field. Allowed: template_name, created_at, updated_at. Prefix with - for descending. Comma-separated for multiple sorts
searchstringSearch across template_name, category (partial match)
qstringAlias for search
fieldsstringComma-separated list of fields to return (field selection)

Filtering#

Apply filters using the format filter[field]=value or filter[field][operator]=value.
Filter FieldTypeDescription
statusstringTemplate approval status (e.g., APPROVED, PENDING, REJECTED)
categorystringTemplate category (e.g., MARKETING, UTILITY, AUTHENTICATION)
languagestringTemplate language code (e.g., en, en_US)

Filter Operators#

OperatorExampleDescription
(none)filter[status]=APPROVEDExact match
likefilter[category][like]=MARKPartial match (contains)
nefilter[status][ne]=REJECTEDNot equal
infilter[status][in]=APPROVED,PENDINGMatch any of the values
not_infilter[category][not_in]=AUTHENTICATIONExclude values
nullfilter[category][null]=trueIs null

Response Fields#

FieldTypeDescription
idintegerInternal template record ID
template_idstringWhatsApp template ID
template_namestringTemplate name identifier
namestringAlias for template_name (backward compatibility)
languagestringTemplate language code
categorystringTemplate category (MARKETING, UTILITY, AUTHENTICATION)
statusstringApproval status (APPROVED, PENDING, REJECTED)
header_data_formatstringHeader type (TEXT, IMAGE, VIDEO, DOCUMENT, NONE)
header_data_textstringHeader text content (may contain variables like {{1}})
header_params_countintegerNumber of header parameters
header_file_urlstring|nullHeader media file URL
header_variable_valuestring|nullHeader variable sample values
body_datastringTemplate body text
body_params_countintegerNumber of body parameters
body_variable_valuestring|nullBody variable sample values
footer_datastring|nullFooter text
footer_params_countintegerNumber of footer parameters
buttons_datastring|nullJSON-encoded buttons configuration
message_send_ttl_secondsinteger|nullOTP message TTL in seconds
add_security_recommendationbooleanWhether security recommendation is added (auth templates)
code_expiration_minutesinteger|nullOTP code expiration in minutes
otp_button_configobject|nullOTP button configuration
componentsarrayRaw template components data
created_atstringISO 8601 timestamp
updated_atstringISO 8601 timestamp

Error Responses#

StatusError CodeDescription
401UNAUTHORIZEDInvalid or missing API token
403INSUFFICIENT_SCOPEToken missing templates:read scope
429RATE_LIMIT_EXCEEDEDToo many requests
500INTERNAL_ERRORFailed to fetch templates

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Query Params

Responses

🟢200
application/json
Successful response
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET '/templates?page=1&per_page=15&sort=-created_at&search=welcome&filter[status]=APPROVED&filter[category]=MARKETING&filter[language]=en&fields=id,template_name,status,category' \
--header 'Authorization: Bearer <token>'
Response Response Example
{}
Modified at 2026-02-25 01:06:20
Previous
Delete Status
Next
Sync Templates from WhatsApp
Built with