---
title: "Retry a webhook delivery"
method: POST
path: "/v1/webhooks/{id}/deliveries/{delivery_id}/retry"
tags: ["Webhooks"]
---

# Retry a webhook delivery

`POST /v1/webhooks/{id}/deliveries/{delivery_id}/retry`

## Request

- Base URL: `https://smtpfa.st/api`
- URL: `https://smtpfa.st/api/v1/webhooks/{id}/deliveries/{delivery_id}/retry`
- Auth: HTTP bearer

Send the same payload again, once, right now, and return the result of that attempt. A delivery with a scheduled attempt still pending returns 409. Requires the webhook:write scope.

## Path parameters

- `id` string, required
- `delivery_id` string, required

## Response `200`

Result of the attempt

- object
  - `success` boolean
  - `message` string
  - `delivery` WebhookDelivery
    - `object` string
    - `id` string
    - `webhook_id` string
    - `event` string
    - `status` 'pending' | 'sending' | 'succeeded' | 'failed'
    - `attempts` integer
    - `max_attempts` integer
    - `status_code` integer, nullable
    - `duration_ms` integer, nullable
    - `error` string, nullable
    - `response` string, nullable: First 500 characters of the last response body
    - `attempt_log` object[]
      - `at` string, date-time
      - `status_code` integer, nullable
      - `duration_ms` integer
      - `error` string, nullable
    - `next_attempt_at` string, date-time, nullable
    - `delivered_at` string, date-time, nullable
    - `created_at` string, date-time

## Other responses

- `401`: Invalid or missing API key
- `403`: Forbidden - domain not verified or insufficient permissions
- `404`: Resource not found
- `409`: Conflict - the resource already exists or changed meanwhile
- `429`: Rate limit exceeded - retry after the period indicated in the Retry-After header
- `500`: Internal server error

---

[API](https://skmtc.dev/smtpfa/apis/smtpfast-api.md) · [All operations](https://skmtc.dev/smtpfa/apis/smtpfast-api/llms.txt) · [OpenAPI document](https://skmtc.dev/smtpfa/apis/smtpfast-api/revisions/79dda742f53e?raw)
