Notifications API Guide
Learn how to create and manage notifications using the Wacht Rust SDK.Prerequisites
Before using any API methods, you must initialize the SDK:Create Notification
Send a notification to a specific user.Basic Notification
Notification with Action Button
Notification with Severity
Notification with Metadata and Expiry
Notification with Custom CTAs
Severity Levels
Notifications support four severity levels viaNotificationSeverity:
CallToAction Structure
For custom CTAs, use theCallToAction struct:
Error Handling
All SDK methods return aResult<T, Error>:
Related
- Installation - SDK setup
- Users Guide - User management
- Webhooks Guide - Webhook event delivery
- API Reference - Backend API - Full API docs
