Skip to main content

API Endpoints

Complete reference for all Dashtray REST API endpoints. Base URL: https://api.dashtray.app All endpoints require an API key via the Authorization: Bearer header. See Authentication.

Send Notification

Send a notification to your device.
Request:
Response:
The title is prefixed with MCP - in the delivered notification.
Example:

List Notifications

Get your notification history with cursor-based pagination.
Query Parameters:
  • limit (integer) - Results per page (default: 50, max: 100)
  • cursor (string) - Opaque pagination cursor from the previous response’s nextCursor
  • search (string) - Optional text filter on notification title/body
Response:
Keep requesting with nextCursor until isDone is true. Example:

Get Alerts

List your notification alerts/templates.
Response:
Example:

Get Stats

Get your account statistics and current plan.
Response:
Example:

Generate API Key

Create a new API key for programmatic access.
Request:
Response (201):
The fullKey is only returned when created. Save it immediately as you won’t see it again.
Example:

List API Keys

Get all your API keys (without revealing the full keys).
Response:
Example:

Revoke API Key

Permanently disable an API key.
Path Parameters:
  • keyId (string) - The key ID to revoke
Response:
Revoked keys cannot be restored. Generate a new key if needed.
Example:

Rate Limits

Per-key, per-minute limits by plan: When exceeded, requests return 429 with Retry-After: 60.