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

# Retry Delivery

> Replay a failed delivery inline. The retry reuses the original event_id and event_type (so receivers can dedupe) and re-signs the payload with the subscription's current secret. Retrying a delivery that already succeeded returns 409. A successful retry is billed as one delivery (1 credit); a failed retry is free.



## OpenAPI

````yaml POST /webhooks/{id}/deliveries/{deliveryId}/retry
openapi: 3.1.0
info:
  title: Webhooks API
  description: >-
    Manage webhook subscriptions as a first-class API resource. Create, list,
    retrieve, update, rotate the signing secret of, test, and delete webhooks;
    list delivery attempts and manually retry failed deliveries. The dashboard
    Webhooks UI calls these exact endpoints — there is no separate code path.
  license:
    name: MIT
  version: 2.0.0
servers:
  - url: https://www.trysignalbase.com/api/v2
security:
  - bearerAuth: []
paths:
  /webhooks/{id}/deliveries/{deliveryId}/retry:
    post:
      summary: Retry Delivery
      description: >-
        Replay a failed delivery inline. The retry reuses the original event_id
        and event_type (so receivers can dedupe) and re-signs the payload with
        the subscription's current secret. Retrying a delivery that already
        succeeded returns 409. A successful retry is billed as one delivery (1
        credit); a failed retry is free.
      operationId: retryWebhookDelivery
      parameters:
        - $ref: '#/components/parameters/WebhookId'
        - name: deliveryId
          in: path
          required: true
          description: ID of the delivery to retry (the id field from List Deliveries).
          schema:
            type: string
      responses:
        '200':
          description: >-
            The retry was attempted. success indicates whether the replay
            reached the endpoint with a 2xx.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookRetryResponse'
              example:
                success: true
                data:
                  delivery_id: 0a1b2c3d-4e5f-4061-8273-849506a1b2c3
                  previous_delivery_id: 9c8b7a65-4d3e-4f21-8a0b-1c2d3e4f5a60
                  status: done
                  response_status: 200
                  attempt_count: 2
                  success: true
                meta:
                  endpoint: webhooks.deliveries.retry
                  creditsUsed: 1
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/SubscriptionExpired'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  parameters:
    WebhookId:
      name: id
      in: path
      required: true
      description: The webhook subscription ID.
      schema:
        type: string
  schemas:
    WebhookRetryResponse:
      type: object
      required:
        - success
        - data
        - meta
      properties:
        success:
          type: boolean
          const: true
        data:
          type: object
          required:
            - delivery_id
            - previous_delivery_id
            - status
            - response_status
            - attempt_count
            - success
          properties:
            delivery_id:
              type: string
              description: ID of the new delivery row created by this retry.
            previous_delivery_id:
              type: string
              description: ID of the delivery that was retried.
            status:
              $ref: '#/components/schemas/DeliveryStatus'
            response_status:
              type: integer
            attempt_count:
              type: integer
              minimum: 2
            success:
              type: boolean
        meta:
          $ref: '#/components/schemas/ResponseMeta'
    DeliveryStatus:
      type: string
      description: >-
        Delivery lifecycle status. done = endpoint returned 2xx; failed =
        non-2xx or network error; pending = recorded but not yet resolved.
      enum:
        - done
        - failed
        - pending
    ResponseMeta:
      type: object
      required:
        - endpoint
        - creditsUsed
      properties:
        endpoint:
          type: string
          description: Endpoint identifier (e.g. webhooks.create).
        creditsUsed:
          type: integer
          minimum: 0
          description: API credits consumed by this request.
    ErrorResponse:
      type: object
      required:
        - success
        - error
        - code
      properties:
        success:
          type: boolean
          const: false
        error:
          type: string
          description: Human-readable error message.
        code:
          type: string
          enum:
            - bad_request
            - invalid_api_key
            - subscription_expired
            - not_found
            - conflict
            - rate_limited
            - internal_server_error
            - internal_error
        retryAfter:
          type: integer
          description: >-
            Seconds until a retry is recommended. Present on rate-limit (429)
            responses.
  responses:
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            success: false
            error: Invalid API key. No key found.
            code: invalid_api_key
    SubscriptionExpired:
      description: The API key belongs to a team without an active subscription.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            success: false
            error: >-
              Subscription expired. Please upgrade your subscription:
              https://www.trysignalbase.com/#pricing
            code: subscription_expired
    NotFound:
      description: No webhook (or delivery) with that ID exists for the authenticated team.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            success: false
            error: Webhook not found
            code: not_found
    Conflict:
      description: The delivery being retried has already succeeded.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            success: false
            error: Delivery already succeeded
            code: conflict
    RateLimited:
      description: >-
        Rate limit exceeded for this team and endpoint. The response also sets
        X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset headers.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            success: false
            error: Too many requests. Please upgrade your plan or slow down.
            code: rate_limited
            retryAfter: 60
    InternalError:
      description: Unexpected server error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            success: false
            error: An unknown error occurred
            code: internal_error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: >-
        Signalbase API key. Include as a Bearer token in the Authorization
        header.

````