# Order Numbers - No Cart

## GET or POST Request

{% hint style="info" %}
<https://v1.api19.com/dids/order/list>
{% endhint %}

Send us a GET or POST request with your key and the numbers (in the URI as key or as http password)

This will immediately attempt to order numbers. You can send the dids field as either a comma list of the numbers OR a json object of the numbers

<table data-header-hidden><thead><tr><th width="152.81817626953125"></th><th width="164.54547119140625"></th><th></th></tr></thead><tbody><tr><td>Argument</td><td>Required</td><td>Type</td></tr><tr><td>dids</td><td>yes</td><td>int</td></tr><tr><td>callflow</td><td>no</td><td>int</td></tr><tr><td>faxflow</td><td>no</td><td>int</td></tr><tr><td>notes</td><td>no</td><td>your did note</td></tr><tr><td>key</td><td>yes</td><td>api key</td></tr></tbody></table>

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

```php
curl -X POST https://v1.api19.com/dids/order/list \
 -d 'dids=3038821111,3038883333' \
 -d 'callflow=444' \
 -d 'notes=my+personal+numbers' \
 -d 'key=your-api-key'
 
OR

curl -X POST https://v1.api19.com/dids/order/list  \
 -d 'dids=[3038821111,3038883333]' \
 -d 'callflow=444' \
 -d 'key=your-api-key'

```

{% endtab %}
{% endtabs %}

Responses

Your cart\_order number has debugging information, if you have any issues, you can open a ticket with this number.

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

```javascript
{
    "status": "ok",
    "errors": {
        "2133581111": "already owned",
        "7203791111": "already owned"
    },
    "success": {
        "7203791112": "yes"
    },
    "cart_order": "232851"
}
```

{% endtab %}

{% tab title="Invalid" %}

```php
{'status': 'error', 'error':'no numbers found in dids'}

OR

{'status': 'error', 'error':'system error'}

OR

{'status': 'error', 'error':'json in dids is invalid'}
```

{% endtab %}
{% endtabs %}
