[GH-ISSUE #1132] Sending notifications with authentication #799

Closed
opened 2026-05-05 04:18:09 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @arxifythedev on GitHub (Jun 10, 2024).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1132

Question

Hello! I have taken the permissions from regular users to send notifications through the server.yml file, thus making sending notifications from any means other than the web app (logged in through an admin account) not possible without authentication. I would like to know how to be able to authenticate myself through cURL to send a notification. Perhaps using an access token?

Thanks in advance and I hope you can answer my question.

Originally created by @arxifythedev on GitHub (Jun 10, 2024). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1132 <!-- 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** <!-- Go ahead and ask your question here :) --> Hello! I have taken the permissions from regular users to send notifications through the server.yml file, thus making sending notifications from any means other than the web app (logged in through an admin account) not possible without authentication. I would like to know how to be able to authenticate myself through cURL to send a notification. Perhaps using an access token? Thanks in advance and I hope you can answer my question.
gitea-mirror 2026-05-05 04:18:09 -06:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@wunter8 commented on GitHub (Jun 10, 2024):

There are many examples in the docs: https://docs.ntfy.sh/publish/#authentication

<!-- gh-comment-id:2158204502 --> @wunter8 commented on GitHub (Jun 10, 2024): There are many examples in the docs: https://docs.ntfy.sh/publish/#authentication
Author
Owner

@arxifythedev commented on GitHub (Jun 10, 2024):

Thank you very much! Fixed.

<!-- gh-comment-id:2158237006 --> @arxifythedev commented on GitHub (Jun 10, 2024): Thank you very much! Fixed.
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: github-starred/ntfy#799
No description provided.