Sending WhatsApp Template Document
This API allows you to send WhatsApp Document (PDF) Messages after 24 hours window. You can make use of this API to send Bulk Personalised Messages by passing the dynamic variables in multi dimensional array.
Sending WhatsApp Template Image
POST
https://pickyassist.com/app/api/v2/push
Request Body
Name | Type | Description |
---|---|---|
token | string | Your API Token for Authentication |
application | number | 8 = WhatsApp Official Account |
template_id | string | Template ID of the approved template |
template_globalmessage | array | You need to pass only the dynamic variable value in array "template_message" Don't pass your entire message structure here |
language | string | Pass the language of the template message |
globalmedia | string | URL from we need to fetch the media , if specified this media will be send to all users. |
template_header | string | Header applicable only for sending documents (only pdf supports now) Maximum 60 Characters |
data | array | This is a multi dimensional array through which used to send personalised bulk messages using single API request |
number | number | WhatsApp Mobile Number with country code without 0 or + prefix |
template_message | array | This is an array through which you need to pass the value of the dynamic variable in your template. Please note you only need to pass the value of the dynamic variable as per the order its approved. |
language | string | Pass the language of the template message |
media | string | You can pass media url if you want to send dynamic media to each number, if the media is static then we highly recommend to pass the URL via "globalmedia" variable |
template_header | string | Header is currently applicable only for documents (currently only PDF) , you can pass customised PDF name as header and maximum character limit is 60. |
Sample Request Body JSON for Sending Dynamic Document with Dynamic Message
Sample Request Body JSON for Sending Static Document with Dynamic Message
Sample Response
Last updated