Sending Location

This method helps you to send location

Not Supported in Phone Automation

Sending Location

POST https://pickyassist.com/app/api/v2/push

This API allows you to send location to multiple numbers

Request Body

Name
Type
Description

token

string

Your API Token for authentication

application

number

8 = WhatsApp Official 10 = WhatsApp Web Automation

data

array

This is an array where you need to pass the mobile number

number

number

Mobile Number with full country code without 0 or + +55 12345 6789 – Wrong Format 55123456789 – Correct Format

location

array

This is an array in which you need to pass location value

name

string

It's heading which shows to the user

address

string

The address or description you can pass

lat

number

Latitude to generate map

long

number

Longitude to generate map

{
    "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"
        }
    ]
}

Last updated