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

# Replay a webhook event

> Replay a previously sent webhook event. The event will be re-queued for delivery to the configured webhook URL.



## OpenAPI

````yaml /openapi.json post /webhooks/replay
openapi: 3.0.0
info:
  title: JetEmail API
  version: 1.0.0
  description: API documentation for JetEmail's transactional email service.
servers:
  - url: https://api.jetemail.com
    description: Production
security:
  - apiKeyAuth: []
externalDocs:
  description: Download OpenAPI Specification
  url: /openapi.json
paths:
  /webhooks/replay:
    post:
      tags:
        - Webhooks
      summary: Replay a webhook event
      description: >-
        Replay a previously sent webhook event. The event will be re-queued for
        delivery to the configured webhook URL.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                event_id:
                  type: string
                  description: Event ID to replay
                  example: evt_abc123
                source_uid:
                  type: string
                  description: Source message UID to replay events for
                  example: message-uid-xyz
                uuid:
                  type: string
                  format: uuid
                  description: 'Optional: Replay to a specific webhook config'
                  example: a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d
            examples:
              Replay by event ID:
                value:
                  event_id: evt_abc123
              Replay by source UID:
                value:
                  source_uid: message-uid-xyz
      responses:
        '200':
          description: Event re-queued for delivery
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  event_id:
                    type: string
                    description: Event ID that was replayed
                    example: evt_abc123
                  status:
                    type: string
                    enum:
                      - enqueued
                    description: Status of the replay request
                    example: enqueued
                  message:
                    type: string
                    description: Human-readable message
                    example: Event re-queued for delivery
        '400':
          description: Bad request - Invalid input
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: false
                  error:
                    type: string
                    example: Either event_id or source_uid is required
        '401':
          description: Unauthorized - User not authenticated
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: false
                  error:
                    type: string
                    example: User authentication not found
        '404':
          description: Event not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: false
                  error:
                    type: string
                    example: Event not found
        '500':
          description: Server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: false
                  error:
                    type: string
                    example: Failed to replay webhook event
components:
  securitySchemes:
    apiKeyAuth:
      type: http
      scheme: bearer
      description: API key for account management endpoints. Use your api_ prefixed token.

````