Alerts API
The Alerts API provides endpoints for configuring alert settings, viewing alert history, and manually triggering alerts.Scope: Tenant-scoped; requires authenticated org context
Availability: Not available in SuperAdmin
Availability: Not available in SuperAdmin
Authentication
All requests require authentication. Include your API key in theAuthorization header:
Base URL
Headers
All requests must include:Endpoints
Example Requests
Get Alert Configuration
Update Alert Configuration
Get Alert History
Common Errors
401 Unauthorized
Authorization header.
400 Bad Request
403 Forbidden
Query Parameters
Alert History
fromDate: Start date (ISO string)toDate: End date (ISO string)alertType: Filter by alert type (stockout,lowAtp,forecastDeviation,expiry,slowMoving,overstock)severity: Filter by severity (CRITICAL,HIGH,MEDIUM,LOW)delivered: Filter by delivery status (boolean)page: Page number (default: 1)limit: Page size (default: 50, max: 100)