Push and SMS
Gotify
Get renewal reminders and payment alerts as push notifications from your own self-hosted Gotify server.
What you get
Each notification arrives as one message from a Gotify application on your own server, in the web UI and the Android app:
- the headline as the title, with one emoji for the kind of event;
- the facts as a list with bold labels (SysCost sends Markdown, which Gotify renders);
- for overdue alerts, every unpaid payment; for payment updates, who made the change;
- an Open in SysCost link, and tapping the notification on Android opens the subscription.
⏰ Figma Organization is due in 3 days
• 💰 Amount: $540.00
• 📅 Due: Thu, Nov 12
• 🔁 Billing: Monthly
• 🏢 Provider: Figma
• 🏷️ Category: Design
Open in SysCost
SysCost · Upcoming payment · Acme IncThe kind of event sets the priority. Here is what the Android app does with each, from Gotify’s priority guide:
| Event | Priority | On Android |
|---|---|---|
| Overdue payment, Marked failed | 8 | A notification with sound and vibration. |
| Upcoming payment | 5 | A notification with sound. |
| Marked paid, Skipped | 2 | An icon in the status bar, without sound. |
Before you start
You need a Gotify server that is reachable from the internet over HTTPS (see Gotify’s installation guide), its address, and an application token.
Create an application
Log in to your Gotify web UI, open Apps and choose Create application. Name it “SysCost” and create it. Copy its token. Since Gotify 3, the token is shown only once, on creation or rotation, so copy it then.
Get the app on your phone
Install the Gotify Android app (Google Play or F-Droid) and log in to your server with your Gotify user. The web UI also shows messages as they arrive.
Use an application token, not a client token
Gotify has two kinds of token. Applications send messages; clients (the apps on your phone) read them. SysCost needs an application token.
Server address
SysCost connects over HTTPS on the standard port (443). If Gotify is served under a path behind a reverse proxy, include it, such as https://example.com/gotify: SysCost adds /message. SysCost never connects to private network addresses.
Add the channel
Workspace admins and owners can add channels.
Open Channels
In SysCost, open Notifications, then Channels, and choose + Channel.
Choose Gotify
Pick Gotify from the list of channels (type its name in Search channels to find it quickly). Give the channel a Name your team will recognise, such as
#finance alerts.Fill in the details
- Server URL: your Gotify address, such as
https://gotify.example.com, without/messageor a token. - Application token: the token you copied.
- Server URL: your Gotify address, such as
Create
Choose Create. SysCost checks the details and saves the channel.
Pro and Team
Gotify is part of the Pro and Team plans. Slack, Discord, Telegram and email are on every plan. See pricing.
SysCost sends the token in the X-Gotify-Key header, as in Gotify’s push guide, never in the address.
Test it and add a rule
Send a test
On the channel, pick a sample (Upcoming payment, Overdue payment, Marked paid, Marked failed or Skipped) and choose Send test. A test message starts with “🧪 Test” and appears in Gotify within seconds. The result shows at once and in the delivery log.
Add a rule
Open Rules, choose + Rule, pick which subscriptions it covers and which events to send, and tick this channel under Send to. See rules and delivery for every option.
Keep the details private
Anyone who has the channel’s secret details can post to it. SysCost hides them once you save; to change them, type new ones when you edit the channel (blank keeps the stored value).
Troubleshooting
Problems with the details show when you save. Problems at delivery show in Notifications → Delivery log, next to each attempt. SysCost shows the status code the service returned, never its reply. A 4xx status is not retried: fix the channel, then send a test.
| What you see | What to do |
|---|---|
| “server_url: Use the standard HTTPS port (443).” | SysCost only connects on port 443. Serve Gotify over HTTPS on the standard port, for example behind a reverse proxy. |
| “server_url must be the server address only…” or “…without /message.” | Enter just the address (and its path, if any). Put the token in Application token, never in the address. |
| “Destination responded with status 401.” or 403 | Gotify doesn’t accept the token: it is mistyped, it is a client token rather than an application token, or the application was deleted or its token rotated. Paste the current application token. |
| “Destination address is not allowed (private or reserved network).” | The address points to a private network. SysCost can only reach servers on the public internet. |
| “The destination did not respond in time.” | The service took longer than 10 seconds. SysCost retries automatically; if it keeps happening, check the service’s status page. |
| “Could not connect to the destination.” or “The destination host could not be found.” | A network problem. SysCost retries automatically. |
| A reminder never arrived and the log has no entry for it | No enabled rule sends that event to this channel, the channel is disabled, or the subscription is paused. See which rules apply in rules and delivery. |