Notifications
The notifications the platform sends by e-mail (or in-app and by webhook), with each one's status. send sends a scheduled notification now or sends it again; stats list returns counts and delivery and read rates.
| Command | HTTP | Description |
|---|---|---|
notifications list | GET /v1/notifications | List notifications |
notifications create | POST /v1/notifications | Create notification |
notifications send | POST /v1/notifications/{id}/send | Send notification |
notifications stats list | GET /v1/notifications/stats | Notification statistics |
Examples
--params carries query, path and header parameters (id, page, filters, X-Workspace-Id); --json carries the request body; --fields limits which fields come back — worth using on every list/get to save context. See Global flags for the full reference.
# List notifications
kobana dashboards notifications list \
--params '{"status": "failed"}' \
--fields "id,type,recipient,status,failure_reason"
# Send notification
kobana dashboards notifications send --params '{"id": "NOTIFICATION_ID"}'
# Notification statistics
kobana dashboards notifications stats list --params '{"days": 30}'
Next steps
- Email templates
- Schema introspection — every parameter this resource accepts.