# Get a delivery

`GET https://api.signwithsigil.com/v1/webhooks/{uid}/deliveries/{id}`

One delivery with the exact body that was posted.

## Authorization

Header `Authorization: Bearer sgk_…` (or `X-Api-Key: sgk_…`).

## Path parameters

- `uid` (string, required): The webhook's 8-character id. Not case-sensitive.
- `id` (string, required): The delivery's `uid` (16 characters, as in `X-Sigil-Delivery`).

## Response

`200 OK`: The [delivery](/api-reference/objects/delivery), with `payload`.

- `uid` (string): The delivery's id, also sent as `X-Sigil-Delivery`. A retry repeats it.
- `event_id` (string): The event's id, the body's `id`: the same for this event's delivery to each of your endpoints.
- `type` (string): The [event type](/webhooks#events). One of: `pact.sent`, `pact.viewed`, `pact.signed`, `pact.declined`, `pact.voided`, `pact.sealed`, `pact.lapsed`, `ping`.
- `pact_uid` (string | null): The pact the event is about. `null` for a `ping`.
- `status` (string): `pending` is queued or waiting for its next attempt; `sent` got a `2xx`; `failed` was given up on. One of: `pending`, `sent`, `failed`.
- `attempts` (integer): Attempts made so far (7 at most).
- `last_code` (integer | null): The HTTP status of the last attempt, or `null` when it got no response.
- `last_error` (string | null): Why the last attempt did not count as delivered: the status and the start of your response body, a timeout, or a connection error.
- `next_attempt` (string (date-time) | null): When it will next be tried, while `pending`.
- `date_created` (string (date-time)): When the event was queued.
- `date_sent` (string (date-time) | null): When it was delivered.
- `payload` (object): The [event body](/api-reference/objects/webhook-event) exactly as it was posted. Only from [Get a delivery](/api-reference/webhooks/get-delivery).

## Errors

| Status | When |
|---|---|
| 401 | The API key is missing, wrong or revoked. |
| 403 | The account's plan does not include API access (Pro and Business do). |
| 404 | No webhook with that id belongs to your account. |
| 404 | No delivery with that id for this endpoint (it may be older than 30 days). |

Every error body is `{ "error": "message" }`.

## Example request

```bash
curl https://api.signwithsigil.com/v1/webhooks/W8NQ3KTE/deliveries/HD7KQ4WEPZ9TXM3C \
  -H "Authorization: Bearer $SIGIL_API_KEY"
```

## Example response

```json
{
  "uid": "HD7KQ4WEPZ9TXM3C",
  "event_id": "EV3QK9WT7PZMXDH4",
  "type": "pact.sealed",
  "pact_uid": "K4TQ7MZE",
  "status": "sent",
  "attempts": 1,
  "last_code": 200,
  "last_error": null,
  "next_attempt": null,
  "date_created": "2026-10-21T09:12:45Z",
  "date_sent": "2026-10-21T09:12:46Z",
  "payload": {
    "id": "EV3QK9WT7PZMXDH4",
    "type": "pact.sealed",
    "created": "2026-10-21T09:12:45Z",
    "data": {
      "pact": {
        "uid": "K4TQ7MZE",
        "title": "Consulting agreement with Acme",
        "status": "sealed",
        "message": "Please sign by Friday.",
        "page_count": 3,
        "created_by": "api",
        "current_signer": null,
        "date_created": "2026-10-20T14:05:00Z",
        "date_sent": "2026-10-20T14:05:01Z",
        "date_lapses": "2026-11-03T14:05:01Z",
        "date_sealed": "2026-10-21T09:12:44Z",
        "date_updated": "2026-10-21T09:12:44Z",
        "documents_charged": 1,
        "documents_cost": null,
        "sent_sha256": "9f2c4e81b07d5a3c6e1f0b9a8d7c6e5f4a3b2c1d0e9f8a7b6c5d4e3f2a1b0c9d",
        "signed_sha256": "3b7e1d9c5a8f2e4b6d0c1a9f8e7d6c5b4a3f2e1d0c9b8a7f6e5d4c3b2a1f0e9d",
        "recipients": [
          {
            "order": 1,
            "role": "signer",
            "name": "Avery Lane",
            "email": "avery@example.com",
            "status": "signed",
            "date_viewed": "2026-10-20T15:28:02Z",
            "date_signed": "2026-10-20T15:31:40Z",
            "typed_name": "Avery Lane",
            "decline_reason": null
          },
          {
            "order": 2,
            "role": "signer",
            "name": "Sam Ortiz",
            "email": "sam@example.com",
            "status": "signed",
            "date_viewed": "2026-10-21T09:10:15Z",
            "date_signed": "2026-10-21T09:12:44Z",
            "typed_name": "Sam Ortiz",
            "decline_reason": null
          },
          {
            "order": 3,
            "role": "cc",
            "name": "Records",
            "email": "records@example.com",
            "status": "pending",
            "date_viewed": null,
            "date_signed": null,
            "typed_name": null,
            "decline_reason": null
          }
        ],
        "links": {
          "document": "https://api.signwithsigil.com/v1/pacts/K4TQ7MZE/document.pdf",
          "signed": "https://api.signwithsigil.com/v1/pacts/K4TQ7MZE/signed.pdf",
          "sigil": "https://api.signwithsigil.com/v1/pacts/K4TQ7MZE/sigil.pdf",
          "dashboard": "https://www.signwithsigil.com/pacts/K4TQ7MZE"
        }
      }
    }
  }
}
```
