Sending Bulk Messages - Push
Send 100 of message in a single api call
If you wish to send same content to many numbers through a single API like message is static and numbers are different for example a promotion message which need to send to 100+ users etc then use the below method ;
Leave individual “message” variable blank, and pass your message content in “globalmessage”variable
We highly recommend to use this method rather than calling the single API 10 times and which increase your phone / docker load and slow down the message processing speed.
post
https://pickyassist.com/app/api/v2
/push
Sending Bulk Messages

Sample Request Body JSON

1
{
2
"token": "PICKY_API_TOKEN",
3
"priority ": "0",
4
"application": "1",
5
"globalmessage": "",
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 9mo ago