Template Status API
This API enables you to Fetch WhatsApp Templates & it's Status
To use this API your project must be enabled with WhatsApp Business Account.
Template Status API
POST
https://pickyassist.com/app/api/v2/template-status
This API allows you to get the status of WhatsApp template
Request Body
token
string
Your API Token
template_id
string
Pass the template Id you have to query the status, if you pass blank then it will fetch all templates in your project
Response Variables
Variable
Description
template_id
Alpha numeric unique template id , this template id need to pass when sending templated messages
template_status
Status of the Templates,
1 = Pending Review
2 = WA Pending Review
3 = Approved
4 = Rejected
category
Category of the template
1 = ACCOUNT_UPDATE
2 = PAYMENT_UPDATE
3 = PERSONAL_FINANCE_UPDATE
4 = SHIPPING_UPDATE
5 = RESERVATION_UPDATE
6 = ISSUE_RESOLUTION
7 = APPOINTMENT_UPDATE
8 = TRANSPORTATION_UPDATE
9 = TICKET_UPDATE
10 = ALERT_UPDATE
11 = AUTO_REPLY
message_type
Message type
1 = Text
2 = Image (.jpg, .jpeg, .png)
3 = Document (.pdf)
header
Header text of the template only applicable for document templates
footer
Footer of the template only applicable for media templates
template_name
Name of the template you requested
templates
This is an array presents only if you are not passing the template id
template_message
This is an array which gives template message and language
message = template message language = language of the template
status
100=>’Success’, 401=>Authentication Failed 801=>Official WhatsApp Account Not Active 405=>API Is Not Active For This Plan 804=>Invalid Template ID
817=>No Templates Found
message
Detailed Status Message (description of any error message)
Sample Request - With Template ID
Sample Response
Sample Request - Listing All Templates
Sample Response
Last updated