API referenceNotifications
Create a notification channel
POST
Adds a channel (email, webhook, Discord, Slack, Telegram, ntfy, Pushover or Gotify) that alert rules can then use.
Needs notifications.manage, which owners and admins hold. Available to MCP clients and the assistant.
cookie
seylo_session<token>application/json- body
name*stringLength
1 <= length <= 60config*|||||||enabled?booleanisDefault?booleanSuccess.
application/json- response
id*stringPanel-issued id.
Match
^[a-z0-9]{16}$name*stringkind*string|string|string|string|string|string|string|stringenabled*booleanisDefault*booleanconfig*|||||||secretsSet*array<string>target*stringusedBy*lastDelivery*|nullcreatedAt*stringFormat
date-timeupdatedAt*stringFormat
date-timecurl -X POST 'https://example.com/api/v1/notifications.createChannel' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "config": { "kind": "smtp", "host": "string", "port": 1, "security": "starttls", "username": "string", "from": "[email protected]", "to": [ "[email protected]" ] }}'Example Response
{ "id": "string", "name": "string", "kind": "smtp", "enabled": true, "isDefault": true, "config": { "kind": "smtp", "host": "string", "port": 0, "security": "starttls", "username": "string", "from": "string", "to": [ "string" ] }, "secretsSet": [ "string" ], "target": "string", "usedBy": { "services": 0, "defaults": true }, "lastDelivery": { "status": "sent", "at": "2019-08-24T14:15:22Z", "error": "string" }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}List notification channels GET
Lists every notification channel with a redacted target, which services use it and its last delivery. Secrets are never returned. Any signed-in caller. Available to MCP clients and the assistant.
Get the default alert rules GET
Returns the panel-wide alert rules: which events notify which channels. Services use these unless they set their own; node, update and approval events are only configured here. Any signed-in caller. Available to MCP clients and the assistant.