# Sending Location

This method helps you to send location

{% hint style="danger" %}
**Not Supported in Phone Automation**
{% endhint %}

## Sending Location

<mark style="color:green;">`POST`</mark> `https://pickyassist.com/app/api/v2/push`

This API allows you to send location to multiple numbers

### Request URL (V4)

Method : **`POST`**

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

#### Request Body

| Name        | Type   | Description                                                                                                                             |
| ----------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------- |
| token       | string | Your API Token for authentication                                                                                                       |
| application | number | <p>8 = WhatsApp Official<br>10 = WhatsApp Web Automation</p>                                                                            |
| data        | array  | This is an array where you need to pass the mobile number                                                                               |
| number      | number | <p>Mobile Number with full country code without 0 or +<br><br><del>+55 12345 6789 – Wrong Format</del> 55123456789 – Correct Format</p> |
| 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                                                                                                               |

{% tabs %}
{% tab title="200 " %}

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

{% endtab %}
{% endtabs %}

## Sample Request Body JSON

```javascript
{ 
   "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

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.pickyassist.com/api-documentation-v2/push-api/sending-location.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
