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

Get Template

GET
/templates/{id}
Retrieve a specific WhatsApp message template by its template ID.
Required Scope: templates:read

Path Parameters#

ParameterTypeRequiredDescription
idstringYesThe WhatsApp template ID (template_id field, not the internal id)

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)
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
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
404NOT_FOUNDTemplate not found
429RATE_LIMIT_EXCEEDEDToo many requests
500INTERNAL_ERRORFailed to fetch template

Request

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

Responses

🟢200
application/json
Successful response
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/templates/template_abc123' \
--header 'Authorization: Bearer <token>'
Response Response Example
{}
Modified at 2026-02-25 01:06:20
Previous
Sync Templates from WhatsApp
Built with