- Overall
- Quickstarts
- Features
- How To
- REST API
- Authentication
- Messages
- Topics
- Schedules
- Signing Keys
- Events
- Dead Letter Queues
- v1 (Deprecated)
- QStash v1 (deprecated)
- Endpoints
- Events
- Keys
- Messages
- Schedules
- Tasks
- Topics
- GETGet Quota
- SDKs
- Integrations
Events
List Events
This endpoint returns a list of all recent events.
GET
/
v1
/
events
curl -X GET https://qstash.upstash.io/v1/events \
-H "Authorization: Bearer <token>"
{
"cursor": "1686652644442-12",
"events": [
{
"id": "12345"
"time": "1686652644442",
"messageId": "msg_123",
"nextDeliveryTime": "1691172945",
"state": "delivered",
"taskId": "98765",
"time": "1691170945"
"url": "https://example.com",
}
]
}
Response
The cursor to use for pagination, if empty, there are no more pages.
only set if status is error
The id of the event.
The associated message id
The next scheduled time of the message
The state of the message at this point in time
The associated task id
Timestamp of this event in unix time (milliseconds)
The destination url, this is experimental and might be removed in the future
curl -X GET https://qstash.upstash.io/v1/events \
-H "Authorization: Bearer <token>"
{
"cursor": "1686652644442-12",
"events": [
{
"id": "12345"
"time": "1686652644442",
"messageId": "msg_123",
"nextDeliveryTime": "1691172945",
"state": "delivered",
"taskId": "98765",
"time": "1691170945"
"url": "https://example.com",
}
]
}
Was this page helpful?
curl -X GET https://qstash.upstash.io/v1/events \
-H "Authorization: Bearer <token>"
{
"cursor": "1686652644442-12",
"events": [
{
"id": "12345"
"time": "1686652644442",
"messageId": "msg_123",
"nextDeliveryTime": "1691172945",
"state": "delivered",
"taskId": "98765",
"time": "1691170945"
"url": "https://example.com",
}
]
}