Notification using ntfy #1208
Replies: 3 comments 1 reply
|
Not at the moment but I will work on it. However, you can send an email when there is a notification for a note and maybe catch this email. I personaly use a free account on Brevo as my SMTP server. It is working really well. |
|
Hi Tim @timothepoznanski . The webhook works very well with ntfy. Is there an option to 'beautify' the message? It's difficult to read as it arrives as a JSON file all in one line. |
|
Hi @Stephane-30, glad the webhook works with ntfy. Poznote sends a JSON body, and since ntfy doesn't recognize it as its own format, it displays the whole raw JSON as the message. You don't need anything on the Poznote side, ntfy can format it for you with its message templating feature (ntfy v2.10.0 and later): add For the That gives you the note title as the notification title and the reminder text as the body, instead of the raw JSON. You can add the direct link to the note as well: ( The available fields depend on the event you subscribed to:
Note that I haven't tested this against a real ntfy instance, so it's theoretical and based on the ntfy documentation. The field names come from the actual Poznote payload, but you may need to adjust the template syntax. Let me know how it goes. 😊 |
Uh oh!
There was an error while loading. Please reload this page.
I read through the API manual but could find what I was looking for. Is there a way to catch Reminder notifications that can be used to trigger a script or curl command for a ntfy notification for example?
All reactions