GET
/
v2
/
dlq
curl https://qstash.upstash.io/v2/dlq \
  -H "Authorization: Bearer <token>"
{ 
  "messages": [
    {
      "messageId": "msg_123",
      "topicId": "tpc_123",
      "url":"https://example.com",
      "method": "POST",
      "header": {
        "My-Header": ["my-value"]
      },
      "body": "{\"foo\":\"bar\"}",
      "createdAt": 1620000000000,
      "state": "failed"
    }
  ]
}

List all messages currently inside the DLQ

Request

cursor
string

By providing a cursor you can paginate through all of the messages in the DLQ

Response

cursor
string

A cursor which you can use in subsequent requests to paginate through all events. If no cursor is returned, you have reached the end of the events.

messages
Array
curl https://qstash.upstash.io/v2/dlq \
  -H "Authorization: Bearer <token>"
{ 
  "messages": [
    {
      "messageId": "msg_123",
      "topicId": "tpc_123",
      "url":"https://example.com",
      "method": "POST",
      "header": {
        "My-Header": ["my-value"]
      },
      "body": "{\"foo\":\"bar\"}",
      "createdAt": 1620000000000,
      "state": "failed"
    }
  ]
}