Sending a Test Message using Curl

In order to send a notification that will be issued under a configured application in Gotify, the following curl command should do the job:

curl -i -X POST -H "Content-Type: application/json" -H "X-Gotify-Key: APPLICATION_TOKEN" --data '{ "message": "test", "title": "test" }'  https://GOTIFY.TLD/message

where:

  • APPLICATION_TOKEN is the application token configured using the Gotify interface,
  • GOTIFY.TLD is the hostname of the Gotify server

The payload, namely the JSON string passed to the data parameter, is used here in-line, but it can also be sent from a local file.


fuss/gotify.txt ยท Last modified: 2025/05/03 23:17 by office

Wizardry and Steamworks

© 2025 Wizardry and Steamworks

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.