Skip to main content
GET
/
v2
/
dlq
/
{dlqId}
Get a DLQ message
curl --request GET \
  --url https://qstash.upstash.io/v2/dlq/{dlqId} \
  --header 'Authorization: Bearer <token>'
{
  "messageId": "<string>",
  "url": "<string>",
  "topicName": "<string>",
  "endpointName": "<string>",
  "method": "<string>",
  "header": {},
  "body": "<string>",
  "bodyBase64": "<string>",
  "maxRetries": 123,
  "notBefore": 123,
  "createdAt": 123,
  "callback": "<string>",
  "failureCallback": "<string>",
  "queueName": "<string>",
  "scheduleId": "<string>",
  "callerIP": "<string>",
  "label": "<string>",
  "flowControlKey": "<string>",
  "rate": 123,
  "period": 123,
  "parallelism": 123,
  "responseStatus": 123,
  "responseHeader": {},
  "responseBody": "<string>",
  "responseBodyBase64": "<string>"
}

Authorizations

Authorization
string
header
required

QStash authentication token

Path Parameters

dlqId
string
required

The DLQ ID of the message you want to retrieve.

Response

DLQ message details

messageId
string

Unique identifier for the message

url
string

The URL to which the message should be delivered.

topicName
string

The URL Group (a.k.a. topic) name if this message was sent to a URL Group.

endpointName
string

The endpoint name of the message if the endpoint is given a name within the URL group.

method
string

The HTTP method to use for the message.

header
object

The HTTP headers sent to your API.

body
string

The body of the message if it is composed of utf8 chars only, empty otherwise.

bodyBase64
string

The base64 encoded body if the body contains a non-utf8 char only, empty otherwise.

maxRetries
integer

The number of retries that should be attempted in case of delivery failure.

notBefore
integer<int64>

The unix timestamp in milliseconds before which the message should not be delivered.

createdAt
integer<int64>

The unix timestamp in milliseconds when the message was created.

callback
string

The url where we send a callback each time the message is attempted to be delivered.

failureCallback
string

The url where we send a callback to after the message is failed

queueName
string

The name of the queue if the message is enqueued to a queue.

scheduleId
string

The scheduleId of the message if the message is triggered by a schedule

callerIP
string

IP address of the publisher of this message.

label
string

The label of the message assigned by the user.

flowControlKey
string

The flow control key used for rate limiting.

rate
integer

The rate value used for flow control.

period
integer

The period value used for flow control.

parallelism
integer

The parallelism value used for flow control.

responseStatus
integer

The HTTP status code received from the destination API.

responseHeader
object

The HTTP response headers received from the destination API.

responseBody
string

The body of the response if it is composed of utf8 chars only, empty otherwise.

responseBodyBase64
string

The base64 encoded body of the response if the body contains a non-utf8 char only, empty otherwise.