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

# Re-drives a failed (or stuck) AS2 delivery: resets it to pending and due now

> so the delivery worker re-attempts it. Idempotent at the AS2 layer — a message the partner already accepted won't double-apply.

so the delivery worker re-attempts it. Idempotent at the AS2 layer — a
message the partner already accepted won't double-apply.

### Path parameters

<ParamField path="id" type="string" required>
  Delivery ID
</ParamField>

### Response

No response body. Delivery re-queued for the worker.

### Status codes

| Code  | Meaning                           |
| ----- | --------------------------------- |
| `200` | Delivery re-queued for the worker |
| `403` | Admin credential required         |
| `404` | Unknown delivery                  |

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url 'https://edi.stateset.com/v1/deliveries/{id}/redeliver' \
    --header 'Authorization: Bearer YOUR_API_KEY'
  ```
</RequestExample>
