curl --location --request POST 'https://api.yourapp.com/v1/public/topics.subscribe' \ --header 'Authorization: Bearer SUBSCRIBER_JWT_TOKEN' \ --header 'Content-Type: application/json' \ --data-raw '{ "id": "topic-uuid-123" }'
{ "data": { "topicSubscriber": { "id": "subscription-uuid", "topicId": "topic-uuid-123", "subscriberId": "sub-uuid-789", "createdAt": "2024-01-17T15:30:00Z" }, "ok": true } }
Subscribe to notifications for a topic. Get notified of comments, votes, and status changes.
Authorization: Bearer SUBSCRIBER_JWT_TOKEN
Show properties
topic-subscribers.create
Was this page helpful?