---
title: "Retry a failed task"
method: POST
path: "/api/queue/{project_id}/dlq/{id}/retry"
tags: ["Queue"]
---

# Retry a failed task

`POST /api/queue/{project_id}/dlq/{id}/retry`

## Request

- Base URL: `https://core.blink.new`
- URL: `https://core.blink.new/api/queue/{project_id}/dlq/{id}/retry`
- Auth: HTTP bearer

Re-enqueues a dead task. Resets status to `pending` and clears error state.

## Path parameters

- `project_id` string, required
- `id` string, required

## Response `200`

Task re-enqueued

- object
  - `taskId` string
  - `messageId` string
  - `requeued` boolean

## Other responses

- `401`: Authentication required or invalid API key
- `404`: Dead task not found
- `422`: Task has no message ID — cannot retry

---

[API](https://skmtc.dev/blink/apis/blink-apis.md) - [All operations](https://skmtc.dev/blink/apis/blink-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/blink/apis/blink-apis/revisions/4c59c706078e?raw)
