curl -X PUT https://qstash.upstash.io/v1/topics/:topicId\ -H "Authorization: Bearer <token>" \ -d '{ "name": "test" }'
{ "topicId": "tpc_7EfEryZiheEKzpMuvjYdhhhbNNJA", "name": "test", "endpoints": [ { "endpointId": "ept_6j7BNZus3ZyPy6P7QtLUMCC3Rq7h", "url": "https://www.upstash.com", "topicId": "tpc_7EfEryZiheEKzpMuvjYdhhhbNNJA" } ] }
This endpoint creates a new topic in QStash.
^[a-zA-Z0-9-_.]+$
Show Endpoint
Was this page helpful?