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

# Replay a previously created partner webhook event

> Requeues an existing partner webhook event for redelivery without minting a new logical event id.



## OpenAPI

````yaml /openapi/openapi.json post /partner/webhooks/events/{event_id}/replay
openapi: 3.1.0
info:
  title: CashWeb Partner API
  description: >-
    CashWeb Partner API enables crypto-to-fiat offramp transactions. Create
    quotes, manage transactions, receive lifecycle webhooks, and reconcile
    revenue.
  contact:
    name: Michael Anyi
    email: michael@cashweb.cash
  license:
    name: Proprietary
  version: 1.0.0
servers:
  - url: https://api-staging.cashweb.cash/api/v1
    description: Staging environment
  - url: https://api.cashweb.cash/api/v1
    description: Production environment
security: []
paths:
  /partner/webhooks/events/{event_id}/replay:
    post:
      tags:
        - Partner API
      summary: Replay a previously created partner webhook event
      description: >-
        Requeues an existing partner webhook event for redelivery without
        minting a new logical event id.
      operationId: replay_webhook_event
      parameters:
        - name: event_id
          in: path
          description: Webhook event identifier
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '202':
          description: Webhook event replay scheduled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_PartnerWebhookReplayResponse'
              example:
                data:
                  aggregate_id: 01917f00-7b4c-7f56-8a2b-15998d58c9f3
                  attempts: 2
                  event_id: 01917f00-7b4c-7f56-8a2b-15998d58c9f3
                  event_type: transaction.completed
                  publish_status: pending
                  replay_scheduled_at: '2026-02-12T12:06:00Z'
                message: Webhook replay scheduled
                success: true
        '401':
          description: Missing or invalid partner API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Webhook event not found for this partner
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: NOT_FOUND
                  message: Webhook event not found
                  timestamp: '2026-02-12T12:00:00Z'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - PartnerApiKey: []
components:
  schemas:
    ApiResponse_PartnerWebhookReplayResponse:
      type: object
      description: Standard API response wrapper for all successful responses
      required:
        - success
        - data
      properties:
        data:
          type: object
          description: Replay scheduling result for an existing partner webhook event.
          required:
            - event_id
            - aggregate_id
            - event_type
            - publish_status
            - replay_scheduled_at
            - attempts
          properties:
            aggregate_id:
              type: string
              format: uuid
              example: 01917f00-7b4c-7f56-8a2b-15998d58c9f3
            attempts:
              type: integer
              format: int32
              example: 2
            event_id:
              type: string
              format: uuid
              example: 01917f00-7b4c-7f56-8a2b-15998d58c9f3
            event_type:
              type: string
              example: transaction.completed
            publish_status:
              type: string
              example: pending
            replay_scheduled_at:
              type: string
              format: date-time
              example: '2026-02-12T12:06:00Z'
        message:
          type:
            - string
            - 'null'
          description: Optional message for additional information
        success:
          type: boolean
          description: Indicates if the request was successful
          example: 'true'
    ErrorResponse:
      type: object
      description: Error response structure for OpenAPI documentation
      required:
        - error
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetails'
          description: Error details
    ErrorDetails:
      type: object
      description: Error details structure
      required:
        - message
        - code
        - timestamp
      properties:
        code:
          type: string
          description: Machine-readable error code
        message:
          type: string
          description: Human-readable error message
        timestamp:
          type: string
          format: date-time
          description: Timestamp when the error occurred
  securitySchemes:
    PartnerApiKey:
      type: apiKey
      in: header
      name: X-API-KEY

````