# Get delivery counts

`GET https://api.parasend.com/v1/deliveries/summary`

Source: https://parasend.com/docs/api/deliveries/summary

Authentication: `Authorization: Bearer <API key>` (a `ps_test_` key in test mode, `ps_live_` in live mode).

The caller's organisation and mode, deliveries created in the last `days` days (default 30) — how many, how they ended, and the median time from sending to confirmation. Counts only; no personal data.

## Query parameters

- `days` (integer, optional): Default: `30`.

## Example: Get delivery counts

```bash
curl "https://api.parasend.com/v1/deliveries/summary" \
  -H "Authorization: Bearer $PARASEND_KEY"
```

```js
const res = await fetch('https://api.parasend.com/v1/deliveries/summary', {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.PARASEND_KEY}`,
  },
});
const data = await res.json();
```

## Response 200

The summary.

```json
{
  "object": "delivery_summary",
  "livemode": false,
  "days": 30,
  "since": "2026-10-07T09:15:05.960Z",
  "total": 5,
  "in_progress": 5,
  "delivered": 0,
  "not_delivered": 0,
  "success_rate": null,
  "median_confirm_seconds": null,
  "any": true
}
```

Errors: one shape, `{"error": {type, code, message, param, request_id}}`; every code is listed at https://parasend.com/docs/errors.
