API Reference
Complete REST API documentation for the Notification System.
Base URL
https://api.notifications.example.com/v1Authentication
All API requests require authentication using an API key in the header:
X-API-Key: ntf_your_api_key_hereRate Limits
| Plan | Requests/min | Requests/hour |
|---|---|---|
| Free | 60 | 1,000 |
| Starter | 120 | 5,000 |
| Professional | 300 | 20,000 |
| Enterprise | Custom | Custom |
Endpoints
Notifications
/notificationsSend a new notification
/notificationsList all notifications
/notifications/{id}Get notification details
Projects
/projectsCreate a new project
/projectsList all projects
/projects/{id}Get project details
/projects/{id}Update a project
/projects/{id}Delete a project
Integration API Keys
/projects/{id}/integrationsList platform integrations
/projects/{id}/integrationsCreate a platform integration
/integrations/{id}/api-keysList integration API keys
/integrations/{id}/api-keysCreate an integration API key
/integrations/{id}/api-keys/{keyId}Revoke an integration API key
Inbound Routes
/integrations/{id}/inbound-routesList cross-channel inbound routes
/integrations/{id}/inbound-routesCreate an inbound route from WhatsApp, MQTT, webhook, or another source channel
/integrations/{id}/inbound-routes/{routeId}Update route destinations, source config, verification token, or secret
/integrations/{id}/inbound-routes/{routeId}Disable an inbound route
/inbound/{routeId}Verify WhatsApp Business webhook challenge
/inbound/{routeId}Receive inbound messages using X-Inbound-Secret and route them to destination channels
/inbound/{routeId}/wsReceive inbound WebSocket messages and route them to destination channels
Webhooks
/projects/{id}/webhookGet webhook configuration
/projects/{id}/webhookUpdate webhook configuration
/projects/{id}/webhook/testTest webhook endpoint
Analytics
/analytics/overviewGet analytics overview
/tracking/{notificationId}/metricsGet tracking metrics
Error Codes
All errors follow this format:
{
"error": "error_code",
"message": "Human-readable error message",
"details": {}
}| Status | Error | Description |
|---|---|---|
| 400 | validation_error | Invalid request body |
| 401 | unauthorized | Missing or invalid API key |
| 403 | forbidden | Insufficient permissions |
| 404 | not_found | Resource not found |
| 429 | rate_limit_exceeded | Too many requests |
| 500 | internal_error | Server error |