Join¶
URL Format¶
join://shoutrrr:API_KEY@join/?devices=DEVICE_ID_1[,DEVICE_ID_2,...][&icon=ICON][&title=TITLE]
URL Fields¶
- APIKey (Required)
URL part: Password
Query/Param Props¶
Props can be either supplied using the params argument or through the URL using
?key=value&key=value etc.
-
devices - Comma separated list of device IDs (Required)
-
icon - Icon URL Default: empty
-
title - If set creates a notification Default: empty
Guide¶
- Go to the Join Webapp
- Select your device
- Click Join API
- Your
deviceIdis shown in the top - Click Show next to
API Keyto see your key - Your Shoutrrr URL will then be:
join://shoutrrr:API_KEY@join/?devices=DEVICE_ID
Multiple deviceIds can be combined with a , (repeat steps 2-4).
Errors¶
Join answers a push with HTTP 200 even when it refuses it. Its reply says whether it accepted the push, so Shoutrrr reads the reply to decide whether the send failed.
| Join's reply | Result |
|---|---|
| HTTP 200 that reports success | The send succeeds. |
| HTTP 200 whose body is not JSON | The send succeeds. |
| HTTP 200 whose JSON does not decode as Join's reply | The send fails with the decoding error. |
| HTTP 200 that reports a refusal | The send fails with Join's reason. |
| HTTP 200 that ends before its whole body is read | The send fails, since the rest could hold a refusal. |
| Any other status | The send fails with the status, and with Join's reason when the reply gives one. |
These are the reasons Join gives most often.
| Reason | Cause |
|---|---|
No device to send message to |
The API key is wrong. |
No devices to send to |
The device IDs are unknown. |