Sending Single Message - Push
Send Your First Message is easy
Below is the Sample Push API Request & Response for sending WhatsApp & SMS , please update variables with your own values ;
Sending Single Message
POST
https://pickyassist.com/app/api/v2/push
This API allows you to send a Single Message
Request Body
Name | Type | Description |
---|---|---|
token | string | Your API Token for authentication |
application | number | Specify through which application the message need to sent. 1 = WhatsApp Personal (Phone Automation) 2 = WhatsApp Business (Phone Automation) 3 = SMS (Phone Automation) 4 = Call (Phone Automation) 5 = Facebook Messenger 8 = WhatsApp Official Shared Number 919737001155 = Shared Number India 556140404433 - Shared Number Brazil |
globalmessage | string | Global Message Text Message with emoji supported by whatsapp If you are sending image and video you can pass caption text here |
globalmedia | string | URL from we need to fetch the media , |
priority | string | This gives priority in the message queue 0 = Low (Default) 1 = High |
data | array | This is an array in which you need to pass the mobile number and message |
number | number | Mobile Number with full country code without 0 or +
|
message | string | Text Message with emoji supported by whatsapp If you are sending image and video you can pass caption text also here. Caption text is not supported for PDF, Audio, Document |
Sample Request Body JSON POST Method
Sample Request Normal POST Method
This is a normal post method and useful for those who would like to use the API as Webhook for various 3rd party applications like Zoho CRM, Zapier which don't directly support JSON POST method, you can post the message into a variable "data"
as shown below
https://pickyassist.com/app/api/v2/push?data=JSON
Sample Response
Please note “100 -> Sucess” response doesn’t means the message has been successfully send to the user, it means your message has been accepted by our servers and pushed to your phone / docker / app for processing.
Last updated