Loading...
Loading...
Send notifications via Notifery API using curl. Use when the user wants to be notified about task completions, errors, or progress. Also use proactively after long-running tasks, failed operations, or when the user has asked to be kept informed. Triggers include "notify me", "send notification", "let me know when done", "alert me", "ping me", "notifery", or when a long task completes and the user previously asked for notifications. Requires NOTIFERY_API_KEY environment variable.
npx skill4agent add martinhjartmyr/skills notiferyhttps://api.notifery.comNOTIFERY_API_URLx-api-key: $NOTIFERY_API_KEYtest -n "$NOTIFERY_API_KEY" || echo "ERROR: NOTIFERY_API_KEY is not set"NOTIFERY_API_KEYtitleNOTIFERY_DEFAULT_GROUPgroupcurl -s -f -X POST "${NOTIFERY_API_URL:-https://api.notifery.com}/event" \
-H "x-api-key: $NOTIFERY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "TITLE",
"message": "MESSAGE",
"group": "GROUP"
}'| Parameter | Type | Required | Description |
|---|---|---|---|
| title | string | Yes | Notification title (1-255 chars) |
| message | string | No | Body text (max 2048 chars) |
| group | string | No | Group alias (falls back to |
| code | number | No | Status code: 0 = success, >0 = error |
| duration | number | No | Duration in milliseconds |
| ttl | number | No | Auto-expiry in seconds (60-31536000) |
| icon | string | No | Icon name |
| iconColor | string | No | Hex color for icon (e.g. "ff0000") |
{ "ok": true }-f-f-w "\n%{http_code}"code: 0code: 1curl -s -f -X POST "${NOTIFERY_API_URL:-https://api.notifery.com}/event" \
-H "x-api-key: $NOTIFERY_API_KEY" \
-H "Content-Type: application/json" \
-d "{
\"title\": \"Build complete\",
\"message\": \"Project built successfully in 42s\",
\"code\": 0,
\"duration\": 42000
}"curl -s -f -X POST "${NOTIFERY_API_URL:-https://api.notifery.com}/event" \
-H "x-api-key: $NOTIFERY_API_KEY" \
-H "Content-Type: application/json" \
-d "{
\"title\": \"Deploy failed\",
\"message\": \"Error: container health check timed out\",
\"code\": 1
}"