# 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 %}


---

# 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://apidocs.api19.com/sms-mms/send-mms.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.
