Sending Dynamic Messages – Push
Sending Personalised Messages
If you wish to send different message contents (personalised messages) to different numbers through a single API call like sending bill alerts , customised reminders , absentees list, personalised greetings etc then please follow the below method;
Leave “globalmessage” variable as blank
Pass each message to be send in the “message” variable against each number
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 Dynamic Message

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
}
30
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 1yr ago