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

# Retry Delivery

> Send this event to the webhook again now, with the same body and event_id. Works for delivered, failed and dead deliveries. Scope: write.

Send this event to its webhook again, now, with the same body and `event_id` (so your deduplication still works). Use it after fixing your server, for `dead` deliveries, or to replay an event while developing. The response is the delivery after the attempt.

## Basic Usage

```bash theme={null}
curl -X POST "https://api.flowiq.live/v1/webhooks/deliveries/c0a1f3d2-5e6b-4a7c-9d8e-1f2a3b4c5d6e/retry" \
  -H "Authorization: Bearer fiq_YOUR_API_KEY"
```

***

## Path Parameters

| Parameter | Type | Required | Description |
| - | - | - | - |
| `id` | string | Yes | The delivery id |

***

## Response

### Success (200)

```json theme={null}
{
  "organization_id": "a4234f32-…",
  "data": {
    "id": "c0a1f3d2-5e6b-4a7c-9d8e-1f2a3b4c5d6e",
    "event_type": "message_received",
    "status": "delivered",
    "attempts": 4,
    "last_status_code": 200,
    "last_error": null,
    "delivered_at": "2026-10-27T01:02:11.000Z",
    "…": "…"
  },
  "attempted": true
}
```

***

## Errors

| Status | When |
| - | - |
| `404` | No such delivery on your account (`not_found`) |
| `409` | An attempt is running right now (`delivery_in_flight`); try again in a minute |
| `403` | The key has no `write` scope |

Needs the `write` scope. Accepts an `Idempotency-Key`.


## OpenAPI

````yaml flowiq-api-reference/openapi-webhook-deliveries.json POST /v1/webhooks/deliveries/{id}/retry
openapi: 3.1.0
info:
  title: FlowIQ Webhook Deliveries API
  version: 1.0.0
  description: >-
    The delivery log of your webhooks: every event FlowIQ sent, each attempt's
    result, and a way to send one again.
servers:
  - url: https://api.flowiq.live
    description: FlowIQ Production API
security:
  - BearerAuth: []
paths:
  /v1/webhooks/deliveries/{id}/retry:
    post:
      tags:
        - Webhooks
      summary: Retry Delivery
      description: >-
        Send this event to the webhook again now, with the same body and
        event_id. Works for delivered, failed and dead deliveries. Scope: write.
      operationId: retryWebhookDelivery
      parameters:
        - name: id
          in: path
          required: true
          description: Delivery id
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Attempted
          content:
            application/json:
              schema:
                type: object
                properties:
                  organization_id:
                    type: string
                    format: uuid
                  data:
                    $ref: '#/components/schemas/Delivery'
                  attempted:
                    type: boolean
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Being attempted right now (code delivery_in_flight)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    Delivery:
      type: object
      properties:
        id:
          type: string
          format: uuid
        webhook_id:
          type:
            - string
            - 'null'
          format: uuid
          description: The webhook it was sent to (null once that webhook is deleted)
        url:
          type: string
        platform:
          type:
            - string
            - 'null'
          example: whatsapp
        event_type:
          type: string
          example: message_received
        event_id:
          type: string
          format: uuid
          description: Same as event_id in the body; one per event, shared by every attempt
        status:
          type: string
          enum:
            - pending
            - in_flight
            - delivered
            - failed
            - dead
        attempts:
          type: integer
        max_attempts:
          type: integer
          example: 8
        next_attempt_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When FlowIQ tries again (pending / failed only)
        last_attempt_at:
          type:
            - string
            - 'null'
          format: date-time
        last_status_code:
          type:
            - integer
            - 'null'
          description: Your server's HTTP status on the last attempt
        last_error:
          type:
            - string
            - 'null'
          example: HTTP 503
        last_duration_ms:
          type:
            - integer
            - 'null'
        delivered_at:
          type:
            - string
            - 'null'
          format: date-time
        created_at:
          type: string
          format: date-time
    Error:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
        message:
          type: string
        request_id:
          type: string
          format: uuid
  responses:
    BadRequest:
      description: Invalid request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: The key lacks the scope
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: 240 reads or 60 actions per minute per key; Retry-After says when
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: fiq_ API key
      description: >-
        Your FlowIQ organisation API key (Settings → API Keys), sent as a bearer
        token. Format: `Bearer fiq_YOUR_API_KEY`

````

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