WhatsApp Campaigns
Return all your created WhatsApp templates
get/whatsappCampaigns/template-list
Query parameters
startDatestring
Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the templates created. Prefer to pass your timezone in date-time format for accurate result
endDatestring
Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the templates created. Prefer to pass your timezone in date-time format for accurate result
limitinteger
Number of documents per page
offsetinteger
Index of the first document in the page
sort'asc' | 'desc'
Sort the results in the ascending/descending order of record modification. Default order is descending if sort is not passed
source'Automation' | 'Conversations'
source of the template
Response
WhatsApp templates informations
Example response
{
"templates": [
{
"id": "235",
"name": "Test template",
"status": "approved",
"language": "en",
"category": "MARKETING",
"errorReason": "NONE",
"createdAt": "2017-06-01T12:30:00.000+0000",
"modifiedAt": "2017-05-01T12:30:00.000+0000"
}
],
"count": 24
}