GET
/
v1
/
topics
/
{topicId}
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>
required
name
string
required

A user given name must only contain alphanumeric, hyphen, underscore and periods.

topicId
string
required

Id for this topic