API Reference
The Delegate REST API lets you programmatically access workspaces, tasks, meetings, and more.
#Base URL
All API requests are made to:
https://delegate.ws/apiℹ️Note
If you are running Delegate locally, the base URL is
http://localhost:3000/api.#Authentication
The Delegate API uses session-based authentication. To make authenticated requests from your own code, pass your session token as a cookie or use the Authorization header with a bearer token.
💡Tip
For server-to-server integrations, use the API token generated in Settings → Developer → API Tokens.
curl https://delegate.ws/api/tasks \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json"#Response format
All responses are JSON. Successful responses use HTTP 200, 201, or 204. Errors return a JSON object with a message field:
{
"message": "Unauthorized",
"status": 401
}#Rate limits
| Plan | Requests / minute | Requests / day |
|---|---|---|
| Starter | 60 | 10,000 |
| Pro | 300 | 100,000 |
| Team | 1,000 | Unlimited |
Rate limit headers are included in every response:
X-RateLimit-Limit: 300
X-RateLimit-Remaining: 299
X-RateLimit-Reset: 1710000000#Available endpoints
- Workspaces — list and manage workspaces
- Tasks — CRUD for tasks and subtasks
- Meetings — create, update, and query meetings
GET /api/dashboard/stats— workspace-level statsGET /api/mail— paginated email listGET /api/knowledge— knowledge base entriesGET /api/ai/suggestions— pending AI suggestions
#Webhooks
Register a webhook URL in Settings → Developer → Webhooks to receive real-time event notifications. Supported events:
task.createdtask.updatedtask.deletedmeeting.createdmeeting.completedai.suggestion.created
Webhook payloads are signed with HMAC-SHA256. Validate the X-Delegate-Signature header to verify authenticity.
Delegate DocsWas this helpful? Give feedback →