Notifiarr¶
The Notifiarr service enables sending notifications through the Notifiarr API, which can forward notifications to various platforms including Discord.
Notifiarr acts as a notification relay service, allowing you to send notifications to multiple destinations through a single API endpoint. It supports routing notifications to Discord channels and other configured services.
Configuration Options¶
| Parameter | Description | Required | Default |
|---|---|---|---|
apikey |
Your Notifiarr API key for authentication | Yes | - |
name |
Name of the app/script for notifications | No | Shoutrrr |
channel |
Discord channel ID for Discord notifications | No | - |
thumbnail |
Thumbnail image URL for Discord notifications | No | - |
image |
Image URL for Discord notifications | No | - |
color |
Color for Discord embed (6-digit hex) | No | - |
URL Format¶
notifiarr://apikey?name=name&channel=channel&thumbnail=thumbnail&image=image&color=color
Complete URL Format¶
The full URL format supports all configuration parameters:
notifiarr://[apikey]?name=[app_name]&channel=[channel_id]&thumbnail=[thumbnail_url]&image=[image_url]&color=[color_value]
Parameters:
apikey(required): Your Notifiarr API keyname(optional): Name of the app/script for notifications (defaults to "Shoutrrr")channel(optional): Discord channel ID for routing notifications (numeric string)thumbnail(optional): Thumbnail image URL for Discord notificationsimage(optional): Image URL for Discord notificationscolor(optional): Color for Discord embed as 6-digit hex code (without # prefix) or color name
URL Fields¶
Query/Param Props¶
Props can be either supplied using the params argument or through the URL using
?key=value&key=value etc.
-
apikey - The Notifiarr API key (Required)
-
channel - Discord channel ID for notifications Default: empty
-
color - Color for Discord notifications Default: empty
-
image - Image URL for Discord notifications Default: empty
-
name - Name of the app/script for notifications Default:
Shoutrrr -
thumbnail - Thumbnail URL for Discord notifications Default: empty
Send Params¶
Send params can set any of the configuration options above for one send.
They can also fill the Discord embed with title, icon, content, footer, and fields, and set the event with id and update.
The reserved message and level params, which every service accepts, are accepted too.
Any other param fails the send, so a misspelled one is reported instead of ignored.
Usage Examples¶
Basic Notification¶
Send a simple notification using your Notifiarr API key:
Example
shoutrrr send --url "notifiarr://your-api-key-here" --message "Hello from Shoutrrr!"
Notification sent
Notification with Discord Channel¶
Send a notification that will be forwarded to a specific Discord channel:
Example
shoutrrr send --url "notifiarr://your-api-key-here?channel=123456789012345678" --message "Alert: System status changed"
Notification sent
Notification with Thumbnail and Color¶
Send a notification with custom thumbnail and color:
Example
shoutrrr send --url "notifiarr://your-api-key-here?channel=123456789012345678&thumbnail=https://example.com/alert.png&color=FF0000" --title "Critical Alert" --message "Server is down!"
Notification sent
Notification with Image¶
Send a notification with a custom image:
Example
shoutrrr send --url "notifiarr://your-api-key-here?channel=123456789012345678&image=https://example.com/chart.png" --title "Sales Report" --message "Monthly sales chart attached"
Notification sent
Notification with Thumbnail and Image¶
Send a notification with both thumbnail and image:
Example
shoutrrr send --url "notifiarr://your-api-key-here?channel=123456789012345678&thumbnail=https://example.com/icon.png&image=https://example.com/full-image.png" --title "Product Update" --message "New product launch details"
Notification sent
Notification with User Mentions¶
Send a notification that mentions specific Discord users (parsed from message content). Both standard mentions <@123> and nickname mentions <@!456> are supported. Note: Only the first user mention and first role mention in the message will be used for pinging.
Example
shoutrrr send --url "notifiarr://your-api-key-here?channel=123456789012345678" --message "Hey <@123456789> and <@!987654321>, the deployment is complete!"
Notification sent
Notification with Custom App Name¶
Send a notification with a custom app name:
Example
shoutrrr send --url "notifiarr://your-api-key-here?name=MyApp" --message "Hello from MyApp!"
Notification sent
Notification with Title¶
Send a notification with a custom title (appears in Discord embed):
Example
shoutrrr send --url "notifiarr://your-api-key-here?channel=123456789012345678" --title "System Alert" --message "Disk space running low on server"
Notification sent
API Documentation Reference¶
The Notifiarr service sends notifications to the Notifiarr API endpoint at https://notifiarr.com/api/v1/notification/passthrough/{apikey}.
Request Format¶
The service sends a POST request with a JSON payload containing the notification data. The payload structure follows the official Notifiarr API specification:
{
"notification": {
"name": "MyApp",
"event": "Optional event ID",
"update": null
},
"discord": {
"ids": {
"channel": 123456789012345678
},
"color": "Optional color (6-digit hex)",
"images": {
"thumbnail": "Optional thumbnail URL",
"image": "Optional image URL"
},
"text": {
"title": "Optional notification title",
"icon": "Optional icon URL",
"content": "Optional content text",
"description": "Your notification message",
"footer": "Optional footer text",
"fields": [
{
"title": "Field title",
"text": "Field content",
"inline": false
}
]
},
"ping": {
"pingUser": 123456789,
"pingRole": 111111111
}
}
}
Payload Structure Details¶
notification(required): Core notification metadataname: Application identifier (configurable vianameparameter, defaults to "Shoutrrr")event: Optional unique event ID from theidparameter-
update: Boolean flag to update existing messages with the same ID (optional, defaults to null) -
discord(optional): Discord-specific configuration (only included when channel is configured or other Discord fields are present) ids.channel: Discord channel ID (required when discord object is present)color: Optional embed color as 6-digit hex code (without # prefix)images.thumbnail: Optional thumbnail image URLimages.image: Optional image URLtext.title: Optional notification title from thetitleparametertext.icon: Optional icon URL for the embedtext.content: Optional content text above the main messagetext.description: The notification message contenttext.footer: Optional footer text for the embedtext.fields: Optional array of field objects with title, text, and inline propertiesping.pingUser: Discord user ID to mention (parsed from the first<@123>mention in message)ping.pingRole: Discord role ID to mention (parsed from the first<@&123>mention in message)
Response¶
Successful requests return a 2xx status code. The service logs the server response for debugging purposes.
Error Handling¶
The service handles various error conditions:
- Empty Message: Returns an error if the message is empty
- Invalid API Key: Server returns authentication errors
- Network Issues: Connection timeouts or network failures
- Server Errors: Unexpected HTTP status codes from the Notifiarr API
Troubleshooting¶
Common Issues¶
Notifications not appearing in Discord¶
- Check Channel ID: Ensure the
channelparameter contains a valid Discord channel ID (must be numeric) - Verify Permissions: Confirm that Notifiarr has permission to post in the specified channel
- API Key Validity: Verify your Notifiarr API key is correct and active
- Channel Configuration: Ensure the channel parameter is included in the URL when Discord notifications are desired
Invalid color values¶
- Color Format: Colors must be provided as 6-digit hex codes (without # prefix) or valid color names
- Example: Use
color=FF0000for red, notcolor=#FF0000orcolor=red
Thumbnail images not displaying¶
- Valid URL: Ensure the thumbnail URL is a valid, publicly accessible HTTPS URL
- Image Format: The URL should point directly to an image file (supported formats depend on Discord)
Image not displaying¶
- Valid URL: Ensure the image URL is a valid, publicly accessible HTTPS URL
- Image Format: The URL should point directly to an image file (supported formats depend on Discord)
- Image Size: Large images may be resized or may not display properly in Discord
Debugging Tips¶
- Enable verbose logging with
--debugflag to see detailed request/response information - Check Notifiarr server logs for additional error details
- Test with minimal configuration first, then add parameters incrementally
For more information about Notifiarr and its capabilities, visit the Notifiarr Wiki.