# Receive Delivery Receipts

## Portal Settings

Under User Settings, on the top right of the portal drop down, you can edit your ***Receive SMS/MMS Delivery Messages*** urls.

Here is a list of possible errors we will send you in the error field:\
<https://files.voicelogin.net/files/errors.csv>

The following data will be posted:

<table data-header-hidden><thead><tr><th width="198"></th><th width="308"></th><th></th></tr></thead><tbody><tr><td>Argument</td><td>Value</td><td>Type</td></tr><tr><td>source</td><td>source number</td><td>int</td></tr><tr><td>destination</td><td>destination number</td><td>int</td></tr><tr><td>send_status</td><td>carrier_sent / rejected / delivered</td><td>string</td></tr><tr><td>status</td><td>REJECTED / DELIVRD</td><td>string</td></tr><tr><td>error</td><td>000 / 600</td><td>int</td></tr></tbody></table>

Here's an example:

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

```php
HTTP Post Variables OR JSON posted

(
    [uuid] => s-1c3b-946b-306a-a068-489a8b9ce6f6-02252024
    [source] => 3038882222
    [destination] => 7206321111
    [send_status] => carrier_sent
    [status] => sent
    [error] => 000
)

(
    [uuid] => s-1c3b-946b-306a-a068-489a8b9ce6f6-02252024
    [source] => 3038882222
    [destination] => 7206321111
    [send_status] => delivered
    [status] => DELIVRD
    [error] => 000
)

(
    [uuid] => s-1c3b-946b-306a-a068-489a8b9ce6f6-02252024
    [source] => 3038882222
    [destination] => 7206321111
    [send_status] => delivered
    [status] => DELIVERED
    [error] => 000
)
```

{% endtab %}

{% tab title="Rejected" %}

```php
HTTP Post Variables OR JSON posted

(
    [uuid] => s-1c3b-946b-306a-a068-489a8b9ce6f6-02252024
    [source] => 3038882222
    [destination] => 7206321111
    [send_status] => carrier_sent
    [status] => sent
    [error] => 000
)

(
    [uuid] => s-1c3b-946b-306a-a068-489a8b9ce6f6-02252024
    [source] => 3038882222
    [destination] => 7206321111
    [send_status] => rejected
    [status] => REJECTED
    [error] => 600
)

(
    [uuid] => s-1c3b-946b-306a-a068-489a8b9ce6f6-02252024
    [source] => 3038882222
    [destination] => 7206321111
    [send_status] => error
    [status] => error
    [error] => Carrier specific error
)
```

{% 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/receive-delivery-receipts.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.
