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

# Redeliver a webhook

> Enqueue another delivery attempt for this event to this endpoint. Returns 202 when accepted.



## OpenAPI

````yaml /openapi/program.openapi.json post /webhook_endpoints/{endpointId}/deliveries/{deliveryId}/redeliver
openapi: 3.1.0
info:
  title: Questra Program API
  version: 0.0.1
  description: >-
    REST API for the Questra Program product. Browser users authenticate through
    Questra Auth SSO; automation uses workspace-scoped API keys (`Authorization:
    Bearer qpk_live_…`). API keys carry scopes enforced before handlers.
    Outbound webhooks follow Standard Webhooks (at-least-once delivery;
    consumers must be idempotent).
servers:
  - url: /v1
    description: Program API base path
security: []
paths:
  /webhook_endpoints/{endpointId}/deliveries/{deliveryId}/redeliver:
    post:
      tags:
        - Webhook deliveries
      summary: Redeliver a webhook
      description: >-
        Enqueue another delivery attempt for this event to this endpoint.
        Returns 202 when accepted.
      parameters:
        - schema:
            type: string
            format: uuid
          required: true
          name: endpointId
          in: path
        - schema:
            type: string
            format: uuid
          required: true
          name: deliveryId
          in: path
      responses:
        '202':
          description: Redelivery accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RedeliverWebhookResponse'
        '404':
          description: Endpoint or delivery not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
components:
  schemas:
    RedeliverWebhookResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/WebhookDelivery'
      required:
        - data
    ErrorBody:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        resource:
          type: string
        slug:
          type: string
        file_id:
          type: string
        endpoint_id:
          type: string
        event_id:
          type: string
        delivery_id:
          type: string
        api_key_id:
          type: string
        integration_id:
          type: string
        audit_id:
          type: string
        status:
          type: string
        details: {}
        question_ids:
          type: array
          items:
            type: string
        survey_ids:
          type: array
          items:
            type: string
        revisions:
          type: array
          items:
            type: number
      required:
        - error
    WebhookDelivery:
      type: object
      properties:
        id:
          type: string
          format: uuid
        endpoint_id:
          type: string
          format: uuid
        event_id:
          type: string
          format: uuid
        event_type:
          $ref: '#/components/schemas/WebhookEventType'
        status:
          $ref: '#/components/schemas/WebhookDeliveryStatus'
        attempt_count:
          type: integer
          minimum: 0
        next_attempt_at:
          type:
            - string
            - 'null'
          format: date-time
        attempts:
          type: array
          items:
            $ref: '#/components/schemas/WebhookDeliveryAttempt'
        created_at:
          type: string
          format: date-time
        completed_at:
          type:
            - string
            - 'null'
          format: date-time
      required:
        - id
        - endpoint_id
        - event_id
        - event_type
        - status
        - attempt_count
        - next_attempt_at
        - attempts
        - created_at
        - completed_at
    WebhookEventType:
      type: string
      enum:
        - survey.created
        - survey.updated
        - survey.deleted
        - file.created
        - file.updated
        - file.ready
        - file.deleted
        - questionnaire.updated
        - questionnaire.clarifications.updated
        - survey.audit.updated
        - workflow.started
        - workflow.updated
        - workflow.finished
        - content.updated
    WebhookDeliveryStatus:
      type: string
      enum:
        - pending
        - success
        - failed
    WebhookDeliveryAttempt:
      type: object
      properties:
        attempted_at:
          type: string
          format: date-time
        duration_ms:
          type:
            - integer
            - 'null'
          minimum: 0
        request_url:
          type: string
          format: uri
        response_status_code:
          type:
            - integer
            - 'null'
        response_body:
          type:
            - string
            - 'null'
        error:
          type:
            - string
            - 'null'
      required:
        - attempted_at
        - duration_ms
        - request_url
        - response_status_code
        - response_body
        - error

````