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

# Retry webhook request

> Retry a failed webhook request delivery.

This endpoint allows you to retry the delivery of a specific webhook request that have failed previously.<br />Upon calling this endpoint, the system will attempt to resend the webhook payload to the original URL using the same method and headers as before.<br />This is useful for recovering from temporary issues that may have caused the initial delivery to fail.<Warning>We only allow to retry once every 30 seconds to avoid any abuses.</Warning>


## OpenAPI

````yaml https://api.dnsradar.dev/openapi.json post /webhooks/{webhook_id}/requests/{request_id}/retry
openapi: 3.0.3
info:
  title: DNSRadar API
  description: DNSRadar API - Monitor your DNS records and get notified when they change.
  version: 1.0.0
  contact:
    name: DNSRadar Support
    email: support@dnsradar.dev
    url: https://dnsradar.dev
servers:
  - url: https://api.dnsradar.dev
    description: Production server
security:
  - ApiKeyAuth: []
tags:
  - name: Agents
    description: Team member management and invitations
  - name: Organization
    description: Organization settings, billing, and subscription management
  - name: Monitors
    description: DNS monitoring configuration and management
  - name: Events
    description: DNS change events and history
  - name: Groups
    description: Monitor grouping and organization
  - name: Webhooks
    description: Webhook configuration for event notifications
paths:
  /webhooks/{webhook_id}/requests/{request_id}/retry:
    post:
      tags:
        - Webhooks
      summary: Retry webhook request
      description: Retry a failed webhook request delivery.
      operationId: retryWebhookRequest
      parameters:
        - name: webhook_id
          in: path
          required: true
          schema:
            type: string
          description: Webhook UUID (starts with 'whk_')
        - name: request_id
          in: path
          required: true
          schema:
            type: string
          description: Request UUID (starts with 'req_')
      responses:
        '200':
          description: Request retried successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookRequest'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '404':
          $ref: '#/components/responses/NotFoundError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    WebhookRequest:
      type: object
      description: Record of a webhook execution
      properties:
        id:
          type: string
          description: Request identifier with 'req_' prefix
          example: req_abc123...
        webhook_id:
          type: string
          description: UUID of the associated webhook
          example: whk_abc123...
        event_id:
          type: string
          nullable: true
          description: UUID of the associated event
          example: evt_abc123...
        created:
          type: string
          format: date-time
          description: Datetime when the webhook request was created in ISO 8601 format
        status:
          type: string
          enum:
            - PENDING
            - DELIVERED
            - RETRYING
            - FAILED
          description: Current status of the webhook request
        retries:
          type: integer
          description: Number of retry attempts made
          example: 0
        delivered:
          type: string
          format: date-time
          nullable: true
          description: >-
            Datetime when the webhook was successfully delivered in ISO 8601
            format
        status_code:
          type: integer
          nullable: true
          description: HTTP status code from the last delivery attempt
          example: 200
        response_body:
          type: string
          nullable: true
          description: >-
            Response body from the last delivery attempt (truncated to 4000
            chars)
          example: accepted
        last_attempt:
          type: string
          format: date-time
          nullable: true
          description: >-
            Datetime when the webhook was sent for the last time, in ISO 8601
            format
    Error:
      type: object
      description: Error response
      properties:
        code:
          type: integer
          description: HTTP status code
        error:
          oneOf:
            - type: string
              description: Error message
            - type: object
              description: Validation errors by field
              additionalProperties:
                type: string
        errors:
          type: object
          description: Field-specific validation errors
          additionalProperties:
            type: string
  responses:
    UnauthorizedError:
      description: Authentication is missing or invalid
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: 401
            error: Unauthorized
    NotFoundError:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: 404
            error: Not found
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key
      description: >-
        API key used to authenticate yourself on DNSRadar. Obtain your API key
        from your DNSRadar dashboard.

````