sendLocation (JSON)
POST
/sendLocation/APIKEYSend Location via Whatsiplus API
Use this endpoint to send a location message through WhatsApp.
Request
Body Params text/plain
Example:{
"phonenumber": [
"15303776310",
"15303776311"
],
"lat": "38.909346",
"long": "-77.030509"
}
Request samples
Responses
sendLocation (JSON)(200)
sendLocation (JSON)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
0
object
required
phonenumber
string
required
messageId
integer
required
1
object
required
phonenumber
string
required
messageId
integer
required
success
string
required
messages
string
required
ExamplesendLocation (JSON)
{
"0": {
"phonenumber": "15303776310",
"messageId": 77876
},
"1": {
"phonenumber": "15303776311",
"messageId": 77877
},
"success": "true",
"messages": "Added to the message queue"
}
Last modified: a month ago