curl -X POST https://qstash.upstash.io/v1/endpoints \ -H "Authorization: Bearer <token>" \ -d { "topicId": "tpc_7EfEryZiheEKzpMuvjYdhhhbNNJA", "url": "https://www.google.com" }
{ "endpointId": "ept_6j7BNZus3ZyPy6P7QtLUMCC3Rq7h", "url": "https://www.upstash.com", "topicId": "tpc_7EfEryZiheEKzpMuvjYdhhhbNNJA" }
This endpoint creates a new endpoint and subscribe it to a topic.
topicId
topicName
Was this page helpful?