> For the complete documentation index, see [llms.txt](https://apidocs.api19.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.api19.com/sms-mms/send-sms.md).

# Send SMS

## GET or POST Request

{% hint style="info" %}
<https://v1.api19.com/sms/send>
{% endhint %}

| Argument    | Required | Type   |
| ----------- | -------- | ------ |
| source      | yes      | int    |
| destination | yes      | int    |
| message     | yes      | string |
| key         | yes      | string |

Send a GET or POST request with source, destination, message and key to us and we will deliver it to the recipient.

{% tabs %}
{% tab title="Curl Post" %}

```php
curl -X POST https://v1.api19.com/sms/send \
 -d 'source=3038821111' \
 -d 'destination=6038821111' \
 -d 'message=yo' \
 -d 'key=your_api_key'
```

{% endtab %}

{% tab title="Curl Get" %}

```
curl https://v1.api19.com/sms/send?key=yourapikey&source=3038821111&destination=6038821111&message=yo
```

{% endtab %}

{% tab title="JSON Response" %}

```php
{"status":"ok", "uuid":"j932jf-hh8w32-djfh2f"}

OR

{"status":"error", "error":"invalid source number"}
```

{% endtab %}
{% endtabs %}
