Signal Notifications¶
Overview¶
Watchtower uses Shoutrrr's Signal service to send Signal notifications.
Signal notifications require a Signal API server that can send messages on behalf of a registered Signal account. This is typically done using signal-cli-rest-api or secured-signal-api.
Examples¶
The examples send from +18005550100 to +18005550101 through a Signal API server on localhost:8080. Replace the first number with your registered Signal number and the second with the number to send to. Shoutrrr's Signal URL Format describes each part.
Setting up a Signal API Server¶
- Phone Number: A dedicated phone number registered with Signal
- API Server: A server running signal-cli with REST API capabilities
- Account Linking: Linking the server as a secondary device to your Signal account
- Optional Security Layer: Authentication and endpoint restrictions via a proxy
The server must be able to receive SMS verification codes during initial setup and maintain a persistent connection to Signal's servers.
Shoutrrr's Signal URL Format¶
Parameters¶
USERNAME: the user name for HTTP Basic Authentication (optional)PASSWORD: the password for HTTP Basic Authentication (optional)HOST: the host name or IP address of the Signal API serverPORT: the port of the Signal API server (default: 8080)SOURCE_PHONE: the Signal phone number that sends, with its country code, such as+18005550100RECIPIENT: a phone number, or a group ID written asgroup.GROUP_ID, to send to
TLS Configuration¶
- Use
signal://for HTTPS (default, recommended) - Use
signal://...?disabletls=yesfor HTTP (insecure, for local testing only)
Attachments¶
The Signal service supports sending base64-encoded attachments:
shoutrrr send "signal://localhost:8080/+18005550100/+18005550101" \
"Message with attachment" \
--attachments "ATTACHMENT_1,ATTACHMENT_2"
Replace ATTACHMENT_1 and ATTACHMENT_2 with the base64-encoded files to attach.
Note
Attachments must be provided as base64-encoded data. The API server handles MIME type detection and file handling.
Examples¶
Send to a single phone number:
Send to multiple recipients:
Send to a group, replacing GROUP_ID with the group's ID:
With authentication, replacing USERNAME and PASSWORD with the HTTP Basic Authentication credentials:
With API token (Bearer auth), replacing API_TOKEN with the token:
Using HTTP instead of HTTPS: