capabilities.work

Subscribe an Existing Subscriber to a Topic

A 3-step recipe with Novu. We can help you get access.

Recipe · 3 steps

Subscribe an Existing Subscriber to a Topic

with Novu

Search for a subscriber, add them to a topic, then verify the subscription.

  1. Search subscribers by email and return the first match so its subscriber id can be used for the subscription.
  2. Subscribe the matched subscriber to the topic. Novu creates the subscription and returns 201.
  3. List the topic's subscriptions to confirm the subscriber is now a member of the topic.
What you'll need to have ready
  • email: Email address used to locate the subscriber.
  • topicKey: The key identifier of the topic to subscribe the subscriber to.
For your developer

Arazzo workflow novu:subscribe-existing-to-topic, 3 operations: SubscribersController_searchSubscribers → TopicsController_createTopicSubscriptions → TopicsController_listTopicSubscriptions. Specs on APIs.io.