# Send MMS

## GET or POST Request

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

| Argument    | Required | Type               |
| ----------- | -------- | ------------------ |
| source      | yes      | int                |
| destination | yes      | int                |
| message     | no       | string             |
| url         | yes      | <http://image/url> |
| 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.

Message is so that you have the ability to send a picture and add a text message with it for no extra charge.

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

```php
curl -X POST https://v1.api19.com/mms/send \
 -d 'source=3038821111'
 -d 'destination=6038821111'
 -d 'message=yo'
 -d 'url=http://mypics.com/image33.png'
 -d 'key=api_token'
```

{% endtab %}

{% tab title="Curl Get" %}

```
curl https://v1.api19.com/mms/send?key=yourapikey&url=http://picurl.com/img.png&source=3038821111&destination=6038821111&message=yo
```

{% endtab %}

{% tab title="JSON Response" %}

```php
{"status":"ok"}

OR

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

{% endtab %}
{% endtabs %}
