Help with webhook notifications to apprise

iacus

New Member
Jan 3, 2025
4
0
1
I have apprise-api running for notification, and wanted to set up webhook notifications. I can't get even the simplest notifications to work, I get this error

1736512014415.png

Testing with curl or other API testing tools sends the notification just fine to the apprise endpoint. I can't figure out what's wrong, and don't know where to look for log information so I can troubleshoot this better (I can't tell if proxmox is doing something unexpected with the request)

1736511964939.png

Can I get any help with this?
 
I think your url should just be http://ip.address:port/notify/. Then in your body you can do something like
JSON:
{
  "title": "{{ title }}",
  "urls": "apprise://url:for/whatever_service",
  "body": "some message"
}
 
Here is how I got Proxmox > apprise-api > Telegram notifications working:

Method/URL: http://<apprise-host>:8000/notify/<appriseconfig>
Headers: Content-Type: application/json
Body:
JSON:
{
  "title":"{{ escape title}}",
  "body":"{{ escape message }}",
  "tag":"tgram-proxmox-backups",
  "format":"markdown"
}

In my Apprise config in apprise-api:

YAML:
urls:
 - tgram://<bot_token>/<chat_id>:
    - detect: no
      topic: <topic_id>
      tag: tgram-proxmox-backups

I used tags to route notifications to a specific Telegram target within a larger apprise config, but you can remove that parameter if you aren't using tags.

What made this work correctly was having Proxmox first escape the title and message, then format it as markdown.

It did take some time to work through all the 400/424/500 errors though.
 
Last edited: