> ## 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.

# Bulk Replay Dead Letters

> Replays multiple failed webhooks matching the specified filters. Requires at least one filter (subscriptionId or eventType). Maximum 100 items per request.



## OpenAPI

````yaml POST /api/v1/mgt/workspaces/{workspaceId}/webhook-dead-letter/bulk-replay
openapi: 3.1.0
info:
  title: Xenia Team API - Bulk Replay Dead Letters
  version: 1.0.0
  description: Replay multiple failed webhooks from the dead letter queue.
servers:
  - url: https://api.xenia.team
security: []
paths:
  /api/v1/mgt/workspaces/{workspaceId}/webhook-dead-letter/bulk-replay:
    post:
      tags:
        - Webhooks
      summary: Bulk Replay Dead Letters
      description: >-
        Replays multiple failed webhooks matching the specified filters.
        Requires at least one filter (subscriptionId or eventType). Maximum 100
        items per request.
      parameters:
        - name: workspaceId
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: Workspace ID
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                subscriptionId:
                  type: string
                  format: uuid
                  description: Filter by subscription ID
                eventType:
                  type: string
                  description: Filter by event type
                ids:
                  type: array
                  items:
                    type: string
                    format: uuid
                  maxItems: 100
                  description: Specific dead letter IDs to replay
            example:
              subscriptionId: sub_abc123
              eventType: task.status_changed
      responses:
        '200':
          description: Bulk replay initiated
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: boolean
                  code:
                    type: integer
                  data:
                    type: object
                    properties:
                      queued:
                        type: integer
                        description: Number of items queued for replay
                      skipped:
                        type: integer
                        description: Number of items skipped
                      errors:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            error:
                              type: string
              example:
                status: true
                code: 200
                data:
                  queued: 15
                  skipped: 2
                  errors: []
        '400':
          description: Bad Request - At least one filter required
        '401':
          description: Unauthorized
      security:
        - clientKey: []
          clientSecret: []
components:
  securitySchemes:
    clientKey:
      type: apiKey
      in: header
      name: x-client-key
    clientSecret:
      type: apiKey
      in: header
      name: x-client-secret

````