Topics
Get Topic
This endpoint returns the topic with the specified ID.
curl -X GET https://qstash.upstash.io/v1/topics/:topicId \
-H "Authorization: Bearer <token>"
{
"topicId": "tpc_7EfEryZiheEKzpMuvjYdhhhbNNJA",
"name": "test",
"endpoints": [
{
"endpointId": "ept_6j7BNZus3ZyPy6P7QtLUMCC3Rq7h",
"url": "https://www.upstash.com",
"topicId": "tpc_7EfEryZiheEKzpMuvjYdhhhbNNJA"
}
]
}
Request
topicId
required
The id or name of the topic
Response
endpoints
Array<Endpoint>
requiredname
string
requiredA user given name must only contain alphanumeric, hyphen, underscore and periods.
topicId
string
requiredId for this topic
Was this page helpful?
curl -X GET https://qstash.upstash.io/v1/topics/:topicId \
-H "Authorization: Bearer <token>"
{
"topicId": "tpc_7EfEryZiheEKzpMuvjYdhhhbNNJA",
"name": "test",
"endpoints": [
{
"endpointId": "ept_6j7BNZus3ZyPy6P7QtLUMCC3Rq7h",
"url": "https://www.upstash.com",
"topicId": "tpc_7EfEryZiheEKzpMuvjYdhhhbNNJA"
}
]
}