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 and paginate through all messages currently inside the 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"
}
]
}
Hide message
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"
}
]
}
Was this page helpful?