Skip to content

Notify_spontit

Chris Caron edited this page Jul 24, 2020 · 6 revisions

Spontit Notifications

  • Source: https://spontit.com
  • Icon Support: No
  • Message Format: Text
  • Message Limit: 5000 Characters per Message
  1. Visit https://spontit.com to create your account.
  2. To acquire your {user}: Visit your profile at https://spontit.com/profile and take note of your User ID here. It will look something like: user12345678901
  3. To acquire your {apikey}: Generate an API key at https://spontit.com/secret_keys (if you haven't already done so).

Syntax

Channels are optional; if no channel is specified then you are just personally notified.

  • spontit://{user}@{apikey}
  • spontit://{user}@{apikey}/{channel_id}
  • spontit://{user}@{apikey}/{channel_id1}/{channel_id2}/{channel_idN}/

Note: When notifying a channel, by default the channel follows this structure (according to their API): user_id/channelname. The slash (/) between the {user_id} and {channelname} unfortunately conflicts with the slash delimiter already used by Apprise. You must either encode the slash (replace it with %2F - see here) or if the channel belongs to you already, you don't even need to specify the user_id/ at all, Apprise will use this by default anyway. Thus your other option is just to put in the channel_name only.

Parameter Breakdown

Variable Required Description
user Yes This is the User ID associated with your Spontit account. It can be found on your Spontit Profile page.
apikey Yes This is the API key you generated for your Spontit account. It can be found (and generated if it doesn't already exist) here.
channel_id No A Channel you wish to notify (vs just sending a notification to yourself).
subtitle No The subtitle of your push. Only appears on iOS devices.

Example

Send a Spontit notification to all devices associated with a project:

# Assume:
#  - our {user} is user28635710302
#  - our {apikey} is a6k4ABnck26hDh8AA3EDHoOVdDEUlw3nty
apprise spontit://user28635710302@a6k4ABnck26hDh8AA3EDHoOVdDEUlw3nty

# Override the subtitle (Mac users only) by doing the following:
# You must use URL encoded strings, below the spaces are swapped with %20
spontit://myuser@myapi?subtitle=A%20Different%20Subtitle
Clone this wiki locally