Request
The id of the topic this endpoint subscribes to.Either topicId or topicName must be set
The name of the topic this endpoint subscribes to.Either topicId or topicName must be set
The url where all requests will be sent to.
Response
The id of the topic this endpoint subscribes to.Either topicId or topicName must be set
The name of the topic this endpoint subscribes to.Either topicId or topicName must be set
The url where all requests will be sent to.
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"
}