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

# Retry an event

> Send the event again to each active destination whose delivery is `dead`. Destinations that got the event are skipped. Uses one credit. Up to 60 retries and replays a minute.




## OpenAPI

````yaml api-reference/openapi.yaml POST /api/v1/projects/{projectId}/events/{eventId}/retry
openapi: 3.1.0
info:
  title: hooksnode API
  version: '1.0'
  description: |
    Send events to a source, and read and retry events with a workspace API key.
servers:
  - url: https://hooksnode.com
security:
  - bearerAuth: []
tags:
  - name: Ingest
  - name: Projects
  - name: Events
paths:
  /api/v1/projects/{projectId}/events/{eventId}/retry:
    post:
      tags:
        - Events
      summary: Retry an event
      description: >
        Send the event again to each active destination whose delivery is
        `dead`. Destinations that got the event are skipped. Uses one credit. Up
        to 60 retries and replays a minute.
      operationId: retryEvent
      parameters:
        - $ref: '#/components/parameters/ProjectId'
        - $ref: '#/components/parameters/EventId'
      responses:
        '202':
          description: Deliveries are queued.
          content:
            application/json:
              schema:
                type: object
                properties:
                  enqueued:
                    type: integer
                    description: Destinations that got a new delivery.
                  event_id:
                    type: integer
              example:
                enqueued: 2
                event_id: 1042
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          description: No credits.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          description: No delivery of this event is `dead`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: event has no failed delivery to retry
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  parameters:
    ProjectId:
      name: projectId
      in: path
      required: true
      schema:
        type: string
        example: 2mJ8kQ4vXw9aB3cD5eF7gH1iK0L
    EventId:
      name: eventId
      in: path
      required: true
      schema:
        type: integer
        format: int64
        example: 1042
  responses:
    BadRequest:
      description: The event ID is not a number.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: invalid event id
    Unauthorized:
      description: The API key is missing or not valid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: No such project or event in this workspace.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Too many requests.
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A workspace API key. You can also send it in the `X-API-Key` header.

````