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 ;
post
https://pickyassist.com/app/api/v2
/push
Sending Single Message

Sample Request Body JSON POST Method

1
{
2
"token": "YOUR_API_TOKEN",
3
"priority ": "0",
4
"application": "10",
5
"globalmessage": "your global message ",
6
"globalmedia": "MEDIA FILE UNIQUE URL",
7
"data": [
8
{
9
"number": "NUMBER 1",
10
"message": "MESSAGE FOR NUMBER 1",
11
"reference_number": "Your Internal Reference Number"
12
13
},
14
{
15
"number": "NUMBER 2",
16
"message": "MESSAGE FOR NUMBER 2",
17
"reference_number": "Your Internal Reference Number"
18
19
}
20
]
21
}
Copied!

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
1
{
2
"token": "YOUR_API_TOKEN",
3
"priority ": "0",
4
"application": "1",
5
"globalmessage": "your global message ",
6
"globalmedia": "MEDIA FILE UNIQUE URL",
7
"data": [
8
{
9
"number": "NUMBER 1",
10
"message": "MESSAGE FOR NUMBER 1"
11
},
12
{
13
"number": "NUMBER 2",
14
"message": "MESSAGE FOR NUMBER 2"
15
},
16
{
17
"number": "NUMBER 3",
18
"message": "MESSAGE FOR NUMBER 3"
19
},
20
{
21
"number": "NUMBER 4",
22
"message": "MESSAGE FOR NUMBER 4"
23
},
24
{
25
"number": "NUMBER 5",
26
"message": "MESSAGE FOR NUMBER 5"
27
}
28
]
29
}
Copied!

Sample Response

1
{
2
"status": 100,
3
"push_id": "7478630",
4
"message": "Success",
5
"data": [
6
{
7
"msg_id": "9844217",
8
"number": "934343442290",
9
"credit": "0.005"
10
},
11
{
12
"msg_id": "9844218",
13
"number": "35435304220",
14
"credit": "0.005"
15
}
16
]
17
}
Copied!
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 modified 5mo ago