Skip to Content
Docs

Push services (ntfy, Pushover, Gotify)

Send AffFast messages to your phone with ntfy, Pushover or Gotify with a Shoutrrr notification channel.

These services use the type shoutrrr of the notification channels. Select the service in the form. AffFast builds the Shoutrrr URL from the fields. The channel sends plain text.

Each section has the fields, an example and the common mistakes. Read services of GET /v1/notification_channel_types for the same fields in the API.

ntfy

URL format that AffFast builds: ntfy://HOST/TOPIC

FieldWhereRequiredMeaning
hostconfigNoThe host of the ntfy server, for example ntfy.example.com. The default is ntfy.sh.
topicconfigYesThe topic name. Use up to 64 letters, digits, underscores and dashes.
tokencredentialsNoAn access token of ntfy. Leave it empty for a topic that needs no login.

Set up ntfy

  1. Choose a topic name. Use up to 64 letters, digits, underscores and dashes. Anyone who knows the name of a topic on ntfy.sh can read it, so choose a name that others cannot guess.
  2. To use your own server, enter its host in the field Server. To use ntfy.sh, leave the field empty.
  3. Subscribe to the topic in the ntfy app. Then save the channel and use Send test.

Example

{
  "type": "shoutrrr",
  "label": "Phone",
  "config": { "service": "ntfy", "topic": "affiliate-sales-7f3a9c" },
  "credentials": {}
}

Common mistakes in ntfy

  • The topic has a space or a dot. Use only letters, digits, underscores and dashes.
  • The server needs a login. Make an access token in ntfy and enter it in the field Access token.
  • You entered https:// in the field Server. Enter only the host, for example ntfy.example.com.

Pushover

URL format that AffFast builds: pushover://shoutrrr:API_TOKEN@USER_KEY/

FieldWhereRequiredMeaning
devicesconfigNoA list of device names. Leave it empty to send to all devices.
user_keycredentialsYesYour user key. It is at the top right of the Pushover dashboard.
tokencredentialsYesThe API token of your Pushover application.

Set up Pushover

  1. Log in at pushover.net. Copy your user key from the top right of the page.
  2. Make an application. Copy its API token.
  3. Enter the user key and the API token in the fields. To send to some devices only, enter their names.

Example

{
  "type": "shoutrrr",
  "label": "Pushover",
  "config": { "service": "pushover", "devices": ["phone"] },
  "credentials": { "user_key": "u...", "token": "a..." }
}

Common mistakes in Pushover

  • You swapped the user key and the API token. The user key is the one on the dashboard.
  • A device name is wrong. Use the name from the list of devices in Pushover.

Gotify

URL format that AffFast builds: gotify://HOST/TOKEN

FieldWhereRequiredMeaning
hostconfigYesThe host of the Gotify server, for example gotify.example.com. Add a port or a path if the server needs one.
tokencredentialsYesThe token of a Gotify application. A client token does not work.

Set up Gotify

  1. In Gotify, open Apps and make a new application.
  2. Copy the token of the application into the field Application token.
  3. Enter the host of your Gotify server in the field Server. Add the port or the path if your server needs them.

Example

{
  "type": "shoutrrr",
  "label": "Gotify",
  "config": { "service": "gotify", "host": "gotify.example.com" },
  "credentials": { "token": "A..." }
}

Common mistakes in Gotify

  • You used a client token. Gotify accepts only the token of an application.
  • The server is in a private network. AffFast cannot reach it. Use a public address with TLS.

On this page