WA.cr APP - API v2
  1. Authentication (OTP Verification)
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
        POST
      • Resend OTP
        POST
      • Verify OTP
        POST
      • Check OTP Status
        POST
      • List Authentication Templates
        GET
    • 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
      • Sync Templates from WhatsApp
      • Get Template
  1. Authentication (OTP Verification)

List Authentication Templates

GET
/auth/templates
Retrieve a paginated list of all approved AUTHENTICATION category templates available for sending OTP and verification codes.
This endpoint only returns templates that are:
Category: AUTHENTICATION
Status: APPROVED
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, language. Prefix with - for descending
searchstringSearch across template_name, body_data (partial match)
qstringAlias for search
filter[language]stringFilter by language code (e.g., en)
filter[template_name]stringFilter by template name

Response Fields#

FieldTypeDescription
idintegerInternal template record ID
template_namestringTemplate name identifier
languagestringTemplate language code
body_textstringTemplate body text (may contain {{1}}, {{2}} placeholders)
body_params_countintegerNumber of body parameters required
header_formatstringHeader type (TEXT, IMAGE, VIDEO, DOCUMENT, NONE)
header_textstring|nullHeader text content
footer_textstring|nullFooter text content
statusstringAlways APPROVED (pre-filtered)
created_atstringISO 8601 timestamp

Use Cases#

Discover available OTP/authentication templates
Check parameter requirements before calling /auth/send-otp
Verify template names and languages for your integration

Error Responses#

StatusError CodeDescription
401UNAUTHORIZEDInvalid or missing API token
403INSUFFICIENT_SCOPEToken missing templates:read scope
429RATE_LIMIT_EXCEEDEDToo many requests
500INTERNAL_ERRORFailed to fetch authentication 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 '/auth/templates?page=1&per_page=15&sort=template_name&search=otp&filter[language]=en' \
--header 'Authorization: Bearer <token>'
Response Response Example
{}
Modified at 2026-02-25 01:30:10
Previous
Check OTP Status
Next
Get Comments
Built with