# Sending SMS Using SIM Card

If you would like to send SMS from the SIM Card activated in the phone which is connected to the picky assist, just follow the below method ,

{% hint style="info" %}
Just pass **“application=3″**  no change in API Structure or URL&#x20;
{% endhint %}

{% hint style="danger" %}
**Please note SMS wont support media files to be sent , if you pass media-url then the URL will append at the end of SMS . If dual sim cards are inserted in the phone then SMS will send only from the default SIM card as configured for SMS in your phone.Supported Media Files**&#x20;
{% endhint %}

{% hint style="success" %}
For SMS we automatically append “+” before the country code and it works almost in every country and network, if you are facing any issues then please report us the issue.
{% endhint %}

## Sending SMS Using Your SIM Card

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

This API allows you to send  Messages Using your SIM Card&#x20;

#### Request Body

| Name          | Type   | Description                                                                                                                                                                                                                                                                                         |
| ------------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| token         | string | Your API Token for authentication                                                                                                                                                                                                                                                                   |
| application   | number | <p>Specify through which application the message need to sent.<br><br>1 = Whatsapp Personal<br>2 = Whatsapp Business<br><strong>3 = SMS</strong><br>4 = Call Conference<br><br>Please note SMS sending should be enabled in your SIM Card and you should have enough talk time to send messages</p> |
| globalmessage | string | Global Message Text Message with emoji supported by SMS                                                                                                                                                                                                                                             |
| globalmedia   | string | URL from we need to fetch the media , **Maximum Size is 50 MB**                                                                                                                                                                                                                                     |
| priority      | string | <p>This gives priority  in the message queue <br><br>0 = Low (Default) <br>1 = High</p>                                                                                                                                                                                                             |
| data          | object | This is an object which you need to pass the mobile number and message                                                                                                                                                                                                                              |
| number        | number | <p>Mobile Number with full country code <em><strong>without 0 or +</strong></em> <br><br><del>+55 12345 6789</del> – Wrong Format<br><strong>55123456789 – Correct Format</strong></p>                                                                                                              |
| message       | string | Text Message for each number with emoji supported by SMS                                                                                                                                                                                                                                            |

{% tabs %}
{% tab title="200 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 for processing.
" %}

```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": "YOUR_API_TOKEN",
  "priority ": "0",
  "application": "3", // sending SMS
  "globalmessage": "your global message ",
  "globalmedia": "MEDIA FILE UNIQUE URL",
  "data": [
    {
      "number": "NUMBER 1",
      "message": "MESSAGE FOR NUMBER 1"
    },
    {
      "number": "NUMBER 2",
      "message": "MESSAGE FOR NUMBER 2"
    },
    {
      "number": "NUMBER 3",
      "message": "MESSAGE FOR NUMBER 3"
    },
    {
      "number": "NUMBER 4",
      "message": "MESSAGE FOR NUMBER 4"
    },
    {
      "number": "NUMBER 5",
      "message": "MESSAGE FOR NUMBER 5"
    }
  ]
}
```

### 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"
        }
    ]
}
```

{% hint style="info" %}
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 for processing.
{% endhint %}


---

# 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-sms-using-sim-card.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.
