# listWebhookDeliveries

Source: /openapi/thomas-federated.openapi.json

## Operation

| Method | URL |
|---|---|
| GET | https://api.thomas.co/v1/webhook-deliveries |

| Field | Value |
|---|---|
| operationId | listWebhookDeliveries |
| method | GET |
| server | https://api.thomas.co |
| path | /v1/webhook-deliveries |
| tags | `Partner Events & Webhooks` |
| summary | List this API client's webhook deliveries |
| badges | None |
| scopes | Alternative 1: `assessments:r` OR Alternative 2: `results:r` |

## Description

Returns the delivery status of every event Thomas has addressed to the calling API client on this tenant, newest first: whether it was delivered, will be retried or has failed, how many attempts were made, the HTTP status the endpoint last returned and why the latest attempt failed.

## Request Parameters

| Name | In | Required | Schema | Description |
|---|---|---|---|---|
| limit | query | false | integer | Page size. Defaults to 50; at most 100. |
| cursor | query | false | string | The `nextCursor` from a previous page. Omit for the newest page. |
| Thomas-Tenant-Id | header | true | string:uuid | Required for API clients: the Tenant this call acts in. Send exactly one. Signed-in users don't send it — their Tenant comes from their session. The header only selects the Tenant; your Grant for it decides access, and is checked on every call. |

## Request Body

None.

## Responses

| Status | Description | Schema refs |
|---|---|---|
| 200 | One page of webhook deliveries | #/components/schemas/WebhookDeliveryStatusListResponseDto |
| 400 | The list query or the tenant selector was refused | #/components/schemas/ApiErrorResponseDto |
| 401 | Invalid or missing authentication token (AUTH_TOKEN_INVALID) | #/components/schemas/ApiErrorResponseDto |
| 403 | Only a Partner-owned API client may call this operation; a signed-in person, a service account and a Partner acting on behalf of a person are refused (PRINCIPAL_TYPE_NOT_ALLOWED). An API client is refused before any tenant data is read or changed when its tenant context, Grant or scope does not authorise the operation (AUTH_TENANT_NOT_GRANTED), or when its service membership is absent (AUTH_SERVICE_MEMBERSHIP_MISSING). An API client holds no organisation role, so AUTH_INSUFFICIENT_ROLE never applies to it. | #/components/schemas/ApiErrorResponseDto |
| 429 | Rate limit exceeded. | #/components/schemas/ApiErrorResponseDto |

### Response 429 headers

| Name | Description | Schema |
|---|---|---|
| Retry-After | Seconds until the rate-limit block expires before retrying. | {"type":"integer","minimum":0} |
| RateLimit-Limit | Configured request limit for the active rate-limit window. | {"type":"integer"} |
| RateLimit-Remaining | Requests remaining in the active rate-limit window; zero when blocked. | {"type":"integer"} |
| RateLimit-Reset | Seconds until the rate-limit block expires. | {"type":"integer","minimum":0} |

## Artifact Examples

### Response 400 example — WEBHOOK_DELIVERY_LIST_QUERY_INVALID

```json
{
  "statusCode": 400,
  "message": "The delivery list query is not one this operation accepts",
  "error": "WEBHOOK_DELIVERY_LIST_QUERY_INVALID"
}
```

### Response 400 example — AUTH_TENANT_CONTEXT_INVALID

```json
{
  "statusCode": 400,
  "message": "Exactly one valid Thomas-Tenant-Id header is required",
  "error": "AUTH_TENANT_CONTEXT_INVALID"
}
```

### Response 401 example

```json
{
  "statusCode": 401,
  "message": "Invalid or missing authentication token",
  "error": "AUTH_TOKEN_INVALID"
}
```

### Response 429 example

```json
{
  "statusCode": 429,
  "message": "ThrottlerException: Too Many Requests",
  "error": "HTTP_TOO_MANY_REQUESTS"
}
```
