> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xenia.team/llms.txt
> Use this file to discover all available pages before exploring further.

# List Dead Letters

> Returns failed webhook deliveries from the dead letter queue. Items are retained for 28 days.



## OpenAPI

````yaml GET /api/v1/mgt/workspaces/{workspaceId}/webhook-dead-letter
openapi: 3.1.0
info:
  title: Xenia Team API - List Dead Letter Queue
  version: 1.0.0
  description: Retrieve failed webhook deliveries from the dead letter queue.
servers:
  - url: https://api.xenia.team
security: []
paths:
  /api/v1/mgt/workspaces/{workspaceId}/webhook-dead-letter:
    get:
      tags:
        - Webhooks
      summary: List Dead Letters
      description: >-
        Returns failed webhook deliveries from the dead letter queue. Items are
        retained for 28 days.
      parameters:
        - name: workspaceId
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: Workspace ID
        - name: subscriptionId
          in: query
          schema:
            type: string
            format: uuid
          description: Filter by subscription ID
        - name: eventType
          in: query
          schema:
            type: string
          description: Filter by event type
        - name: includeExpired
          in: query
          schema:
            type: boolean
            default: false
          description: Include expired entries
        - name: limit
          in: query
          schema:
            type: integer
            default: 50
            maximum: 100
          description: Number of results
        - name: offset
          in: query
          schema:
            type: integer
            default: 0
          description: Results to skip
      responses:
        '200':
          description: Dead letters retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: boolean
                  code:
                    type: integer
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        subscriptionId:
                          type: string
                        eventId:
                          type: string
                        eventType:
                          type: string
                        payload:
                          type: object
                        lastAttemptAt:
                          type: string
                          format: date-time
                        attemptCount:
                          type: integer
                        lastError:
                          type: string
                        expiresAt:
                          type: string
                          format: date-time
                        createdAt:
                          type: string
                          format: date-time
                  pagination:
                    type: object
                    properties:
                      total:
                        type: integer
                      limit:
                        type: integer
                      offset:
                        type: integer
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - clientKey: []
          clientSecret: []
components:
  securitySchemes:
    clientKey:
      type: apiKey
      in: header
      name: x-client-key
    clientSecret:
      type: apiKey
      in: header
      name: x-client-secret

````