---
ai:
  exclude: true
search:
  exclude: true
  tags:
    - DLQ
    - GET
seo:
  description: >-
    Get a failed message. Reference for the GET /api/v2/dlq/{messageId} endpoint
    in the Anlyon API: earlier namespaces.
  noindex: true
sidebar:
  label: Get a failed message
  badge: GET
title: Get a failed message
type: openapi-operation
---
`GET /api/v2/dlq/{messageId}`

**Responses**

- `200` — Failed message diagnostics returned without tenant-internal identifiers.
- `401` — Unauthorized - Invalid or missing API key
- `403` — Authenticated credential lacks the required scope or workspace access.
- `404` — Not Found - Resource does not exist
- `429` — Too Many Requests - Rate limit exceeded. A workspace's API requests are limited per minute and per UTC clock hour by plan; \`Retry-After\` says when to try again, and an hourly refusal names the limit and when the count resets. Successful responses carry the same limits in \`X-RateLimit-Limit\`, \`X-RateLimit-Remaining\`, \`X-RateLimit-Reset\` (the minute) and \`X-RateLimit-Limit-Hour\`, \`X-RateLimit-Remaining-Hour\`, \`X-RateLimit-Reset-Hour\` (the hour).

Response example, 200:

```json
{
  "success": true,
  "data": {
    "messageId": "string",
    "url": "http://example.com",
    "method": "GET",
    "headers": {},
    "body": null,
    "status": "failed",
    "scheduledFor": "2019-08-24T14:15:22Z",
    "attempts": 0,
    "maxRetries": 0,
    "responseStatus": 100,
    "responseBody": "string",
    "errorMessage": "string",
    "deliveredAt": "2019-08-24T14:15:22Z",
    "failedAt": "2019-08-24T14:15:22Z",
    "callbackUrl": "http://example.com",
    "failureCallbackUrl": "http://example.com",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z"
  }
}
```

Response example, 401:

```json
{
  "success": false,
  "error": {
    "code": "AUTHENTICATION_ERROR",
    "message": "Invalid or missing API key"
  }
}
```

Response example, 404:

```json
{
  "success": false,
  "error": {
    "code": "NOT_FOUND",
    "message": "Resource not found"
  }
}
```

Response example, 429:

```json
{
  "success": false,
  "error": {
    "code": "RATE_LIMIT_EXCEEDED",
    "message": "Rate limit exceeded. Please try again later."
  }
}
```
