# List iMessage sender orders

Returns iMessage sender orders.

```http
GET https://api.pozy.ai/v1/imessage/senders/order
```

- Area: Messaging / iMessage
- Auth: Authorization: Bearer pz_live_...

## Query parameters

- `includeCanceled` (boolean)

## Example request

```bash
curl -X GET "https://api.pozy.ai/v1/imessage/senders/order" \
  -H "Authorization: Bearer $POZY_API_KEY"
```

```ts
const res = await fetch("https://api.pozy.ai/v1/imessage/senders/order", {
  headers: { Authorization: `Bearer ${process.env.POZY_API_KEY}` },
});
const data = await res.json();
if (!res.ok) throw new Error(data?.error ?? `Request failed with status ${res.status}`);
console.log(data);
```

```python
import os
import requests

resp = requests.get(
    "https://api.pozy.ai/v1/imessage/senders/order",
    headers={"Authorization": f"Bearer {os.environ['POZY_API_KEY']}"},
    timeout=30,
)
resp.raise_for_status()
print(resp.json())
```

## Response 200

- `senders`, array of object
  - `id`, string
  - `kind`, string: One of `phone`, `email`
  - `region`, string: One of `US`, `GB`. Can be null
  - `handle`, string: Can be null
  - `optInLink`, string: Can be null
  - `status`, string: One of `ordering`, `awaiting_payment`, `activating`, `active`, `suspended`, `canceled`, `failed`
  - `priceCents`, integer
  - `provider`, string
  - `profileId`, string
  - `displayName`, string: Can be null
  - `failureReason`, string: Can be null
  - `accountId`, string: Can be null
  - `createdAt`, string (date-time)

```json
{
  "senders": [
    {
      "id": "6bfebd43ddc270f6d2c56fc5",
      "kind": "phone",
      "region": "US",
      "handle": "acme",
      "optInLink": "string",
      "status": "ordering",
      "priceCents": 1,
      "provider": "string",
      "profileId": "6a0b6573846efc28aaa9a3ff",
      "displayName": "Acme",
      "failureReason": "string",
      "accountId": "696e0b682d0a31188e7a2ba9",
      "createdAt": "2026-10-02T09:00:00.000Z"
    }
  ]
}
```
