REST API Integration
Dashtray provides a complete REST API for sending notifications, managing API keys, and querying statistics.API Base URL
Authentication
All requests require an API key in theAuthorization header:
Content Type
All requests must include:Response Format
All responses are JSON. Success payloads are wrapped in a named field (notification, notifications, alerts, stats, apiKey, apiKeys):
Rate Limiting
Rate limits are per API key, per minute, by plan (100 / 1,000). Exceeding the limit returns429 with a Retry-After: 60 header.
API Endpoints
Notifications
POST /api/v1/notifications/send- Send a notificationGET /api/v1/notifications- List notifications with pagination
Alerts
GET /api/v1/alerts- List alerts for templates
Statistics
GET /api/v1/stats- Get account statistics
API Keys
POST /api/v1/api-keys/generate- Generate a new API keyGET /api/v1/api-keys- List your API keysDELETE /api/v1/api-keys/{keyId}- Revoke an API key
Example: Send a Notification
Next Steps
- 📖 Read the API Reference
- 🔧 See Error Handling
- 🤖 Explore MCP Integration