N
Novu•9mo ago
Tim Anderson

Users not getting added to subscriber list?

I have a backend service that subscribes users to our novu list. How long does it take for subscriptions to show up on the subscribers list in novu? It looks like the request returns ok: addedResp: {"clientRequestId":"44979ac9-be51-442a-8699-370501cb20c1","requestId":"213c1c1a-f002-0041-4735-76b091000000","version":"2019-02-02","date":"2024-03-14T17:30:49.000Z","etag":"W/"datetime'2024-03-14T17%3A30%3A49.7389991Z'"","preferenceApplied":"return-no-content"}
5 Replies
Pawan Jain
Pawan Jain•9mo ago
@Tim Anderson Here by novu list, you mean Topics ?
Ask Inkeep
Ask Inkeep•9mo ago
Hi @Pawan Jain, I'm an AI assistant knowledgeable about Novu. While a team member is able to review this question, I'll look through relevant sources and see if I can provide suggestions. Please tag @Ask Inkeep with any follow-up questions. ----------------------------- While I generate an answer, here are some sources that might be helpful: * Frequently Asked Questions * Topics * Overview * Concepts -----------------------------
Ask Inkeep
Ask Inkeep•9mo ago
Answer Yes, when you mention "novu list," I'm assuming you are referring to the concept of Topics in Novu. Topics in Novu are used to group subscribers together so that they can be notified about events at once. A topic is identified by a custom key and can have multiple subscribers who will receive notifications sent to that topic (1) , (2) . If you need to create a topic, you can do so using the Novu API as described in the documentation (1) :
import { Novu } from '@novu/node';
const novu = new Novu("<NOVU_API_KEY>");
const result = await novu.topics.create({
key: 'unique-topic-identifier',
name: 'descriptive-topic-name',
});
import { Novu } from '@novu/node';
const novu = new Novu("<NOVU_API_KEY>");
const result = await novu.topics.create({
key: 'unique-topic-identifier',
name: 'descriptive-topic-name',
});
This code snippet will create a new topic with the specified unique key and descriptive name. If you are looking to manage or interact with Topics in any other way, please let me know, and I can provide further information based on Novu's documentation.
Tim Anderson
Tim AndersonOP•9mo ago
Yes! 🙂
Pawan Jain
Pawan Jain•9mo ago
@Tim Anderson it should add subscriber immediately (within seconds)
Want results from more Discord servers?
Add your server