> ## 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…

> Delivery re-queued for the worker

### Path parameters

**id** `string` *required*

Delivery ID

### Request body

No request body.

### 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 |

### Using this contract

Read the [source OpenAPI document](https://docs.stateset.com/spec/edi.json) for declared schemas and alternatives.
This page also includes documented corrections from the [spec overlays](https://github.com/stateset/docs/tree/main/spec/overlays).
Example IDs and values are illustrative; replace them with records from your workspace.

```bash cURL theme={null}
curl --silent --show-error --fail-with-body --request POST \
  --url 'https://api.edi.stateset.com/v1/deliveries/{id}/redeliver' \
  --header "Authorization: Bearer $EDI_API_TOKEN"
```


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