Create Templates
Create a basic Template (without tags)
POST https://www.channel360.co.za/v1.1/org/:orgId/whatsapp/templates
Headers
Content-type
applications/json
Authorization
Bearer <token>
Body
name
string required
This is the name of your template
description
string required
An explanation of what the template is used for
namespace
string required
language
string required
The language code of the template
enabled
boolean required
Whether the template is enabled
category
string required
The categories we provide are AUTHENTICATION, MARKETING and UTILITY
components
object[] required
Defines the message structure (header, body, buttons)
Dynamic Button Template
POST https://www.channel360.co.za/v1.1/org/:orgId/whatsapp/templates
Text & Media Templates with Tags
Video
video/mp4
15 mb
Image
image/jpeg, image/png
15 mb
Document
application/pdf, text/csv
15 mb
Create a Template with Tags and Quick Reply Buttons
Create a Template with Tags and Call-to-Action Buttons
Create an Authentication Template
POSThttps://channel360.co.za/v1.1/org/{orgId}/whatsapp/templates
Query String Parameters:
<ADD_SECURITY_RECOMMENDATION>
Optional.
Set to true if you want the security recommendation body string included in the response.
The string is not editable.
If omitted, the security recommendation string will not be included. (For your security, do not share this code.)
true
<CODE_EXPIRATION_MINUTES>
Optional.
Set to an integer if you want the code expiration footer string included in the response.
If omitted, the code expiration footer string will not be included.
Value indicates number of minutes until code expires.
Minimum 1, maximum 90.
10
<BUTTON_TYPES>
Required.
Comma-separated list of strings indicating button type.
If included, the response will include the button text for each button in the response.
For authentication templates, this value must be OTP.
OTP
Example Request:
Last updated
Was this helpful?