[GH-ISSUE #706] Topic creation restricted to one user? #518

Closed
opened 2026-05-07 00:25:00 +02:00 by BreizhHardware · 1 comment

Originally created by @Zitus on GitHub (Apr 21, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/706

Question
Is it possible from a web script (not having Ntfy as a private server) to create a topic where only one user can be subscribed?
Or, if it's not possible, having my own Ntfy server can I know how many subscribers a topic has, and reject or delete subscriptions if more than one?

Originally created by @Zitus on GitHub (Apr 21, 2023). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/706 <!-- Before you submit, consider asking on Discord/Matrix instead. You'll usually get an answer sooner, and there are more people there to help! - Discord: https://discord.gg/cT7ECsZj9w - Matrix: https://matrix.to/#/#ntfy:matrix.org / https://matrix.to/#/#ntfy-space:matrix.org --> :question: **Question** Is it possible from a web script (not having Ntfy as a private server) to create a topic where only one user can be subscribed? Or, if it's not possible, having my own Ntfy server can I know how many subscribers a topic has, and reject or delete subscriptions if more than one?
BreizhHardware 2026-05-07 00:25:00 +02:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@binwiederhier commented on GitHub (Apr 21, 2023):

Is it possible from a web script (not having Ntfy as a private server) to create a topic where only one user can be subscribed?

Pubsub generally allows many subscribers, and ntfy does not implement subscriber limits per topic either.

Or, if it's not possible, having my own Ntfy server can I know how many subscribers a topic has, and reject or delete subscriptions if more than one?

Topic subscriptions are kept in memory and are not exposed in any way right now. I suggest you just create a user and reserve a topic, or you update your access controls manually to allow only the authorized user to access the topic.

<!-- gh-comment-id:1517880826 --> @binwiederhier commented on GitHub (Apr 21, 2023): > Is it possible from a web script (not having Ntfy as a private server) to create a topic where only one user can be subscribed? Pubsub generally allows many subscribers, and ntfy does not implement subscriber limits per topic either. > Or, if it's not possible, having my own Ntfy server can I know how many subscribers a topic has, and reject or delete subscriptions if more than one? Topic subscriptions are kept in memory and are not exposed in any way right now. I suggest you just create a user and reserve a topic, or you update your access controls manually to allow only the authorized user to access the topic.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#518
No description provided.