> For the complete documentation index, see [llms.txt](https://peoplescourt.ai/llms.txt). This page is also available as Markdown.

# List tenant-scoped webhook deliveries

Partner platforms: requires a partner key with callbacks:manage and the platform_orchestrator role. List tenant-scoped webhook deliveries. All results are tenant scoped.

Reference

Webhooks

GET

live

`/api/webhooks/deliveries`

`listWebhookDeliveries`

## Authentication and authority

Send one of the allowed bearer credential roles. Alternatives are OR; credentials named within one alternative are AND.

`platformOrchestratorBearer`

Credential bound to the platform_orchestrator role.

## Parameters

Name

Location

Requirement

Schema

`status`

query

Optional

{"type":"string","enum":["pending","sending","delivered","failed","suppressed","dead_letter"]}

`limit`

query

Optional

{"type":"integer","minimum":1,"maximum":200,"default":100}

## Responses

### 200

Tenant-scoped delivery history.

application/json

```json
{
  "type": "object",
  "required": [
    "data",
    "requestId"
  ],
  "properties": {
    "data": {
      "type": "object",
      "required": [
        "schemaVersion",
        "deliveries"
      ],
      "properties": {
        "schemaVersion": {
          "type": "string",
          "const": "partner-webhook-delivery-list-v2"
        },
        "deliveries": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/PartnerWebhookDelivery",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "eventId",
              "deliveryId",
              "sequence",
              "caseId",
              "type",
              "occurredAt",
              "status",
              "attempts",
              "deliveryAttempts"
            ],
            "properties": {
              "caseEvent": {
                "$ref": "#/components/schemas/CanonicalCaseEvent",
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "schemaVersion",
                  "id",
                  "cursor",
                  "type",
                  "occurredAt"
                ],
                "properties": {
                  "schemaVersion": {
                    "type": "string",
                    "const": "case-event-v1"
                  },
                  "id": {
                    "type": "string"
                  },
                  "cursor": {
                    "type": "string",
                    "description": "Opaque cursor identifying a position in the case event stream. Never interpret or compare cursor text."
                  },
                  "label": {
                    "type": "string",
                    "description": "Party-facing label for the event."
                  },
                  "type": {
                    "type": "string"
                  },
                  "occurredAt": {
                    "type": "string",
                    "format": "date-time"
                  }
                }
              },
              "eventId": {
                "type": "string"
              },
              "deliveryId": {
                "type": "string"
              },
              "sequence": {
                "type": "integer",
                "minimum": 1
              },
              "caseId": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "occurredAt": {
                "type": "string",
                "format": "date-time"
              },
              "endpointId": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "pending",
                  "sending",
                  "delivered",
                  "failed",
                  "suppressed",
                  "dead_letter"
                ]
              },
              "attempts": {
                "type": "integer",
                "minimum": 0
              },
              "nextAttemptAt": {
                "type": "string",
                "format": "date-time"
              },
              "deadLetteredAt": {
                "type": "string",
                "format": "date-time"
              },
              "replayOfDeliveryId": {
                "type": "string"
              },
              "deliveredAt": {
                "type": "string",
                "format": "date-time"
              },
              "lastError": {
                "type": "string"
              },
              "deliveryAttempts": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PartnerWebhookDeliveryAttempt",
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "attemptNumber",
                    "status",
                    "keyId",
                    "signedAt"
                  ],
                  "properties": {
                    "attemptNumber": {
                      "type": "integer",
                      "minimum": 1
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "prepared",
                        "delivered",
                        "retryable_failure",
                        "terminal_failure"
                      ]
                    },
                    "responseStatus": {
                      "type": "integer"
                    },
                    "errorCode": {
                      "type": "string"
                    },
                    "keyId": {
                      "type": "string"
                    },
                    "signedAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "completedAt": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "requestId": {
      "type": "string"
    }
  }
}
```

### default

RFC 9457 style problem response.

application/problem+json

```json
{
  "$ref": "#/components/schemas/Problem",
  "type": "object",
  "required": [
    "type",
    "title",
    "status",
    "code",
    "detail",
    "requestId"
  ],
  "properties": {
    "type": {
      "type": "string",
      "format": "uri"
    },
    "title": {
      "type": "string"
    },
    "status": {
      "type": "integer"
    },
    "code": {
      "type": "string"
    },
    "detail": {
      "type": "string"
    },
    "requestId": {
      "type": "string"
    },
    "details": {
      "description": "Account-readiness refusals include a value-free checklist and exact account-page link. Other error codes may provide different details.",
      "anyOf": [
        {
          "$ref": "#/components/schemas/AccountReadinessDetails",
          "type": "object",
          "additionalProperties": false,
          "required": [
            "ready",
            "accountSetupUrl",
            "missing"
          ],
          "properties": {
            "ready": {
              "type": "boolean"
            },
            "accountSetupUrl": {
              "type": "string",
              "format": "uri"
            },
            "missing": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AccountReadinessRequirement",
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "label",
                  "section",
                  "accountUrl"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  },
                  "section": {
                    "type": "string",
                    "enum": [
                      "email",
                      "identity",
                      "legal_documents"
                    ]
                  },
                  "accountUrl": {
                    "type": "string",
                    "format": "uri"
                  }
                }
              }
            }
          }
        },
        {
          "$ref": "#/components/schemas/LegalDocumentsRequiredDetails",
          "type": "object",
          "additionalProperties": false,
          "required": [
            "legalDocumentsUrl"
          ],
          "properties": {
            "legalDocumentsUrl": {
              "type": "string",
              "format": "uri",
              "description": "Absolute account-page URL where the person reviews and accepts the current Terms and Privacy Notice. Uses the configured public application origin. After accepting the documents, retry the original operation."
            },
            "ready": {
              "type": "boolean"
            },
            "accountSetupUrl": {
              "type": "string",
              "format": "uri"
            },
            "missing": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AccountReadinessRequirement",
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "label",
                  "section",
                  "accountUrl"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  },
                  "section": {
                    "type": "string",
                    "enum": [
                      "email",
                      "identity",
                      "legal_documents"
                    ]
                  },
                  "accountUrl": {
                    "type": "string",
                    "format": "uri"
                  }
                }
              }
            }
          }
        },
        {}
      ]
    }
  }
}
```

## Example response

### Successful response

```json
{
  "data": {
    "schemaVersion": "partner-webhook-delivery-list-v2",
    "deliveries": [
      {
        "eventId": "event_test_123",
        "deliveryId": "delivery_test_123",
        "sequence": 1,
        "caseId": "pcase_test_123",
        "type": "type_test",
        "occurredAt": "2026-08-09T12:00:00.000Z",
        "status": "pending",
        "attempts": 1,
        "deliveryAttempts": [
          {
            "attemptNumber": 1,
            "status": "prepared",
            "keyId": "keyId_test",
            "signedAt": "2026-08-09T12:00:00.000Z"
          }
        ]
      }
    ]
  },
  "requestId": "requestId_test"
}
```

## Errors

Read the response status and stable error code. See [errors](https://peoplescourt.ai/docs/api/errors.md) and [rate limits](https://peoplescourt.ai/docs/api/rate-limits.md) for recovery. Refresh the resource before resolving a state or digest conflict.

## Idempotency and retries

- For throttling, honor Retry-After when present. Back off on retryable server failures.

## Request examples

Use `https://peoplescourt.ai` with the test credential issued for your integration.

```sh
curl --request GET \
  --url 'https://peoplescourt.ai/api/webhooks/deliveries' \
  --header 'Authorization: Bearer pk_test_replace_me'
```

```ts
const response = await fetch("https://peoplescourt.ai/api/webhooks/deliveries", {
  method: "GET",
  headers: {
    "Authorization": "Bearer pk_test_replace_me"
  },
});
if (!response.ok) throw await response.json();
const result = await response.json();
```

```python
import requests

response = requests.get(
    "https://peoplescourt.ai/api/webhooks/deliveries",
    headers={
      "Authorization": "Bearer pk_test_replace_me"
    },
    timeout=30,
)
response.raise_for_status()
result = response.json()
```
