# List deliveries

Source: https://immiscible.fly.dev/docs/api/get-api-w-wid-webhooks-id-deliveries

`GET /api/w/:wid/webhooks/:id/deliveries`

What was sent, when, and what came back: `request.bodyDigest` is the SHA-256 of the exact body that was signed, `request.headers` the headers it was sent with (the signature, never the secret), and `response` the endpoint's last status and the first 1 KB of what it answered.

## Authentication

Session cookie. A signed-in person: the console's session cookie. Every state-changing request also carries the header `x-immiscible-csrf: 1`, and the member's role decides what it may do. Bearer tokens are ignored on these routes, so no machine credential can reach them.

## Path parameters

- `wid` (string, required): Workspace id
- `id` (string, required): Webhook id

## Request

curl:

```bash
curl "https://immiscible.fly.dev/api/w/$IMMISCIBLE_WORKSPACE/webhooks/whk_3d2e/deliveries" \
  -H "cookie: __Host-sid=$IMMISCIBLE_SESSION"
```

Node:

```ts
const res = await fetch('https://immiscible.fly.dev/api/w/$IMMISCIBLE_WORKSPACE/webhooks/whk_3d2e/deliveries', {
  headers: {
    cookie: `__Host-sid=${process.env.IMMISCIBLE_SESSION}`,
  },
});
const data = await res.json();
console.log(res.status, data);
```

Python:

```python
import os
import requests

res = requests.get(
    "https://immiscible.fly.dev/api/w/$IMMISCIBLE_WORKSPACE/webhooks/whk_3d2e/deliveries",
    headers={
        "cookie": f"__Host-sid={os.environ['IMMISCIBLE_SESSION']}",
    },
)
print(res.status_code, res.json())
```

## Response

```json
{
  "data": [{
    "id": "dlv_3f9c1a", "webhookId": "whk_71b2", "recordId": "b9bba577-3f6c", "kind": "agent_freeze",
    "status": "failed", "attempts": 5, "lastStatus": 500, "lastError": "the endpoint answered 500",
    "request": { "bodyDigest": "sha256:ae118db9...", "bytes": 1432, "headers": { "content-type": "application/json", "immiscible-signature": "t=1791210019,v1=5d0c...", "immiscible-delivery": "dlv_3f9c1a", "immiscible-event": "agent_freeze", "immiscible-format": "ocsf", "user-agent": "Immiscible-Webhooks/1.0.0" } },
    "response": { "status": 500, "body": "{\"error\":\"down for maintenance\"}" },
    "resentFrom": null, "createdAt": "2026-10-05T14:20:19.622Z", "deliveredAt": null, "nextAttemptAt": null
  }]
}
```
