---
title: "List"
method: GET
path: "/admin/email-dlq"
tags: ["email-dlq"]
---

# List

`GET /admin/email-dlq`

## Request

- Base URL: `https://api.instruxi.dev/api/v1/enforcer`
- URL: `https://api.instruxi.dev/api/v1/enforcer/admin/email-dlq`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `X-API-Key`

The email dead-letter queue: messages that failed delivery and were parked rather than lost, newest first by default. Optional topic filter is a case-insensitive substring match on the wire topic. from/to bound created_at (when the message was parked) so a retry sweep can be scoped to a window: YYYY-MM-DD is an inclusive whole UTC day, RFC3339 an exact instant (from inclusive, to exclusive); malformed is 400 invalid_from / invalid_to. total counts the entries matching every filter. There is no status filter: the queue has no status — an entry is parked until replayed or dropped, and either removes it. Pair with replayEmailDlqEntry to resend one or deleteEmailDlqEntry to drop it.

## Query parameters

- `topic` string
- `from` string
- `to` string
- `sort` 'created' | 'attempts' | 'topic'
- `sort_dir` 'asc' | 'desc'
- `limit` integer
- `offset` integer

## Response `200`

OK

- InternalDeliveryHttpHandlerDLQEntryListResponse
  - `data` EnforcerV3InternalDomainMaildlqEntry[]
    - `attempts` integer
    - `created_at` string
    - `id` string
    - `key` string
    - `last_error` string
    - `wire_topic` string
  - `limit` integer
  - `offset` integer
  - `success` boolean
  - `total` integer

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/instruxi/apis/enforcer-api.md) · [All operations](https://skmtc.dev/instruxi/apis/enforcer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/instruxi/apis/enforcer-api/revisions/fa82bc1becc0?raw)
