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

# Send Webhook Event Again

> Sends an event from the last 30 days again to one of the targets it was first sent to: one of its endpoints, or the callback URL of the request that created its job. The resend carries the same `x-heygen-event-id` and a new `x-heygen-delivery-id`, re-signs any media URLs in the event, and is signed with the endpoint's current secret. It runs in the background: the response is 202 with the delivery_id, and its attempts appear in GET /v3/webhooks/deliveries. One resend of an event to a target runs at a time, and a workspace can have at most 5 resends queued or running at once; more are refused with 429 `webhook_redelivery_limit_exceeded`. A resend makes one attempt with a 5 second timeout and is not retried. Delivery is at least once: deduplicate on the `x-heygen-event-id` header, which every delivery of an event carries.



## OpenAPI

````yaml /openapi/external-api.json post /v3/webhooks/events/{event_id}/redeliver
openapi: 3.1.0
info:
  title: HeyGen External API
  version: 1.0.0
  description: >-
    HeyGen's external API for programmatic AI video creation. See
    https://docs.heygen.com for full documentation.
  contact:
    name: HeyGen Product Infra
    url: https://heygen.com
servers:
  - url: https://api.heygen.com
    description: Production
security:
  - ApiKeyAuth: []
  - BearerAuth: []
tags:
  - name: Video
    description: >-
      Create videos from a prompt or an avatar, then list, fetch, deliver and
      delete them
  - name: Avatar
    description: >-
      Create avatars and looks, record consent, and generate with the Avatar 6
      model
  - name: Voice
    description: Text to speech, speech to speech, and voice cloning
  - name: Audio
    description: Music, sound effects, transcription, stem separation and audio analysis
  - name: Image
    description: Generate images
  - name: Video editing
    description: >-
      Translate, lipsync, clip, analyze and remove filler words or backgrounds
      from existing videos
  - name: Video Agent
    description: Create videos from a prompt with an agent that plans, writes and edits
  - name: Templates
    description: Generate videos from reusable templates by replacing their variables
  - name: HyperFrames
    description: Render HyperFrames compositions into video
  - name: Brand
    description: >-
      Brand kits (colors, fonts, logos) and brand glossaries (term translations
      and pronunciations)
  - name: Assets and folders
    description: Upload files and organize them in folders
  - name: Batches
    description: Submit and track videos, translations, lipsyncs and uploads in bulk
  - name: Webhooks
    description: Manage webhook endpoints and events
  - name: Feedback
    description: Tell HeyGen how a generated result turned out
  - name: Account and usage
    description: Your account, the current API key, request logs and usage
paths:
  /v3/webhooks/events/{event_id}/redeliver:
    post:
      tags:
        - Webhooks
      summary: Send Webhook Event Again
      description: >-
        Sends an event from the last 30 days again to one of the targets it was
        first sent to: one of its endpoints, or the callback URL of the request
        that created its job. The resend carries the same `x-heygen-event-id`
        and a new `x-heygen-delivery-id`, re-signs any media URLs in the event,
        and is signed with the endpoint's current secret. It runs in the
        background: the response is 202 with the delivery_id, and its attempts
        appear in GET /v3/webhooks/deliveries. One resend of an event to a
        target runs at a time, and a workspace can have at most 5 resends queued
        or running at once; more are refused with 429
        `webhook_redelivery_limit_exceeded`. A resend makes one attempt with a 5
        second timeout and is not retried. Delivery is at least once:
        deduplicate on the `x-heygen-event-id` header, which every delivery of
        an event carries.
      operationId: redeliverWebhookEvent
      parameters:
        - name: event_id
          in: path
          required: true
          schema:
            type: string
          description: Webhook event ID
        - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RedeliverWebhookEventRequest'
      responses:
        '202':
          description: >-
            Accepted — the resend has started; its attempts appear in GET
            /v3/webhooks/deliveries.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/RedeliverWebhookEventResponse'
        '400':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    $ref: '#/components/schemas/StandardAPIError'
              example:
                error:
                  code: webhook_target_not_allowed
                  message: That target is not one this event was sent to
                  param: null
                  doc_url: null
        '401':
          description: Authentication failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    $ref: '#/components/schemas/StandardAPIError'
              example:
                error:
                  code: unauthorized
                  message: Invalid or expired API key. Verify your x-api-key header.
                  param: null
                  doc_url: null
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    $ref: '#/components/schemas/StandardAPIError'
              example:
                error:
                  code: not_found
                  message: Webhook event not found.
                  param: null
                  doc_url: null
        '409':
          description: >-
            Conflict — `error.code` is one of: `webhook_event_expired`,
            `webhook_endpoint_disabled`, `webhook_redelivery_in_progress`,
            `request_in_progress`.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    $ref: '#/components/schemas/StandardAPIError'
              examples:
                webhook_event_expired:
                  summary: The event is older than 30 days
                  value:
                    error:
                      code: webhook_event_expired
                      message: Only events from the last 30 days can be sent again
                      param: null
                      doc_url: null
                webhook_endpoint_disabled:
                  summary: The endpoint is disabled
                  value:
                    error:
                      code: webhook_endpoint_disabled
                      message: >-
                        The webhook endpoint is disabled. Enable it, then send
                        the event again
                      param: null
                      doc_url: null
                webhook_redelivery_in_progress:
                  summary: A resend of this event to this target is still running
                  value:
                    error:
                      code: webhook_redelivery_in_progress
                      message: >-
                        This event is already being sent again to that target.
                        Check its deliveries before retrying
                      param: null
                      doc_url: null
                request_in_progress:
                  summary: Concurrent retry with same Idempotency-Key
                  value:
                    error:
                      code: request_in_progress
                      message: >-
                        A request with this Idempotency-Key is already in
                        progress. Retry shortly.
                      param: null
                      doc_url: null
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    $ref: '#/components/schemas/StandardAPIError'
              example:
                error:
                  code: rate_limit_exceeded
                  message: >-
                    Too many requests. Retry after the duration specified in the
                    Retry-After header.
                  param: null
                  doc_url: null
          headers:
            Retry-After:
              description: Seconds to wait before retrying
              schema:
                type: integer
        '503':
          description: >-
            Temporarily unavailable — the request did not complete and is safe
            to retry.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    $ref: '#/components/schemas/StandardAPIError'
              example:
                error:
                  code: service_unavailable
                  message: >-
                    The resend may have started but could not be confirmed.
                    Check the event's deliveries before sending it again
                  param: null
                  doc_url: null
      security:
        - ApiKeyAuth: []
        - BearerAuth: []
components:
  parameters:
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      required: false
      description: >-
        Optional client-supplied key for safely retrying mutations. Subsequent
        calls within 24 hours that share this key replay the original response —
        even if the request body differs slightly (a warning is logged). A retry
        that arrives while the original is still in flight gets a 409
        `request_in_progress`. Keys must be 1–255 characters from
        `[A-Za-z0-9_:.-]`; a UUID is a safe default. Scope is per-endpoint and
        per-resource: the same key on a different route or path parameter is
        independent.
      schema:
        type: string
        pattern: ^[A-Za-z0-9_\-:.]{1,255}$
        maxLength: 255
        minLength: 1
      example: 550e8400-e29b-41d4-a716-446655440000
  schemas:
    RedeliverWebhookEventRequest:
      additionalProperties: false
      description: Request body for `POST /v3/webhooks/events/{event_id}/redeliver`.
      properties:
        target:
          description: >-
            Which of the event's targets to send it to: one of its endpoints, or
            its callback URL.
          discriminator:
            mapping:
              callback: '#/components/schemas/CallbackTargetRef'
              endpoint: '#/components/schemas/EndpointTargetRef'
            propertyName: type
          oneOf:
            - $ref: '#/components/schemas/EndpointTargetRef'
            - $ref: '#/components/schemas/CallbackTargetRef'
          title: Target
      required:
        - target
      title: RedeliverWebhookEventRequest
      type: object
    RedeliverWebhookEventResponse:
      description: >-
        An accepted Send again. Its attempts appear in GET
        /v3/webhooks/deliveries under this delivery_id.
      properties:
        delivery_id:
          description: New for this Send again; sent as the x-heygen-delivery-id header.
          examples:
            - 3f0c9b1e2d4a4b6c8e7f1a2b3c4d5e6f
          title: Delivery Id
          type: string
        event_id:
          description: >-
            The event sent again; the same x-heygen-event-id header as its first
            delivery.
          examples:
            - evt_abc123
          title: Event Id
          type: string
        target:
          description: The target it is being sent to.
          discriminator:
            mapping:
              callback: '#/components/schemas/CallbackTargetRef'
              endpoint: '#/components/schemas/EndpointTargetRef'
            propertyName: type
          oneOf:
            - $ref: '#/components/schemas/EndpointTargetRef'
            - $ref: '#/components/schemas/CallbackTargetRef'
          title: Target
      required:
        - delivery_id
        - event_id
        - target
      title: RedeliverWebhookEventResponse
      type: object
    StandardAPIError:
      type: object
      properties:
        code:
          type: string
          description: Machine-readable error code
          example: invalid_parameter
        message:
          type: string
          description: Human-readable error message
          example: Video not found
        param:
          type:
            - string
            - 'null'
          description: Which request field caused the error
        doc_url:
          type:
            - string
            - 'null'
          description: Link to error documentation
        errors:
          type: array
          description: >-
            Per-item error details for batch/multi-node failures (e.g. graph
            compilation errors by node).
          items:
            $ref: '#/components/schemas/StandardAPIErrorDetail'
        request_id:
          type: string
          description: >-
            Request identifier, also returned in the X-HeyGen-Request-Id
            response header. Include it when contacting support.
          example: 8c4f0b9e1d2a4f6b9e3c7a1d5f2b8e40
      required:
        - code
        - message
    CallbackTargetRef:
      additionalProperties: false
      properties:
        type:
          const: callback
          description: The callback_url set by the request that created the event's job.
          title: Type
          type: string
      required:
        - type
      title: CallbackTargetRef
      type: object
    EndpointTargetRef:
      additionalProperties: false
      properties:
        type:
          const: endpoint
          description: A registered webhook endpoint.
          title: Type
          type: string
        endpoint_id:
          description: The endpoint to send the event to.
          maxLength: 255
          minLength: 1
          title: Endpoint Id
          type: string
      required:
        - type
        - endpoint_id
      title: EndpointTargetRef
      type: object
    StandardAPIErrorDetail:
      type: object
      properties:
        code:
          type: string
          description: Machine-readable error code
          example: unknown_node_type
        message:
          type: string
          description: Human-readable error message
          example: Unknown node type
        node_id:
          type: string
          description: Graph node id this error pertains to, if applicable
        port:
          type: string
          description: Port name on the node this error pertains to, if applicable
        path:
          type: string
          description: Field path within the item this error pertains to, if applicable
      required:
        - code
        - message
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: HeyGen API key. Obtain from your HeyGen dashboard.
    BearerAuth:
      type: http
      scheme: bearer
      description: OAuth2 bearer token.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.