-
-
Notifications
You must be signed in to change notification settings - Fork 436
Notify_spontit
Chris Caron edited this page Jul 24, 2020
·
6 revisions
- Source: https://spontit.com
- Icon Support: No
- Message Format: Text
- Message Limit: 5000 Characters per Message
- Visit https://spontit.com to create your account.
- 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
- To acquire your
{apikey}
: Generate an API key at https://spontit.com/secret_keys (if you haven't already done so).
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.
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. |
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