Sending Location

This method helps you to send location

Not Supported in Phone Automation

post
Sending Location

https://pickyassist.com/app/api/v2/push
This API allows you to send location to multiple numbers
Request
Response
Request
Body Parameters
token
required
string
Your API Token for authentication
application
required
number
8 = WhatsApp Official 10 = WhatsApp Web Automation
data
required
array
This is an array where you need to pass the mobile number
number
required
number
Mobile Number with full country code without 0 or + +55 12345 6789 – Wrong Format 55123456789 – Correct Format
location
required
array
This is an array in which you need to pass location value
name
optional
string
It's heading which shows to the user
address
optional
string
The address or description you can pass
lat
required
number
Latitude to generate map
long
required
number
Longitude to generate map
Response
200: OK
{
"status": 100,
"push_id": "7478630",
"message": "Success",
"data": [
{
"msg_id": "9844217",
"number": "934343442290",
"credit": "0.005"
},
{
"msg_id": "9844218",
"number": "35435304220",
"credit": "0.005"
}
]
}

Sample Request Body JSON

{
"token":"782a357a2a11f54b83fd1a017f05eb6794",
"application":"10",
"data":[
{
"number":"919442222222",
"message":""
}
],
"location":{
"latitude":"18.509495",
"longitude":"76.969809",
"name":"Tourism Maldives",
"address":"Tourism Maldives Magazine, USA"
}
}

Sample Response

{
"status": 100,
"push_id": "7478630",
"message": "Success",
"data": [
{
"msg_id": "9844217",
"number": "934343442290",
"credit": "0.005"
},
{
"msg_id": "9844218",
"number": "35435304220",
"credit": "0.005"
}
]
}

​