Topics
Upsert Topic and Endpoint
Add an endpoint to a topic
POST
/
v2
/
topics
/
{topicName}
/
endpoints
If the topic does not exist, it will be created. If the endpoint does not exist, it will be created.
Request
topicName
string
requiredThe name of your topic. If it doesn’t exist yet, it will be created.
endpoints
Array
requiredThe endpoints to add to the topic.
name
string
The name of the endpoint
url
string
requiredThe URL of the endpoint
Response
This endpoint returns 200 if the endpoints are added successfully.
Was this page helpful?