Welcome to the Day Copilot API
The Day Copilot API is a REST API that allows you to programmatically manage tasks, events, and contexts. All endpoints are accessed viahttps://app.daycopilot.ai/api/v1/ and return JSON responses.
Interactive API Playground
All API endpoints in this reference include an interactive playground where you can test requests with your own authentication token.
Base URL
Authentication
All API requests require authentication via Bearer token in the Authorization header:Get Started with Authentication
Learn how to obtain and use API tokens
API Resources
Day Copilot API is organized around three main resources:Tasks
Create and manage actionable items with assignments, due dates, and priorities
Events
Manage calendar events with attendees, times, and locations
Contexts
Organize tasks and events into shared workspaces
Request Format
Headers
All requests should include:Body
Request bodies use JSON format:Response Format
Success Responses
Successful responses return HTTP 200/201 with JSON data:List Responses
List endpoints include pagination metadata:Error Responses
Errors return appropriate HTTP status codes with details:HTTP Status Codes
| Code | Description |
|---|---|
200 | OK - Request successful |
201 | Created - Resource created successfully |
400 | Bad Request - Invalid parameters or request body |
401 | Unauthorized - Missing or invalid authentication |
403 | Forbidden - Insufficient permissions |
404 | Not Found - Resource doesn’t exist |
422 | Unprocessable Entity - Validation failed |
429 | Too Many Requests - Rate limit exceeded |
500 | Internal Server Error - Something went wrong |
503 | Service Unavailable - Temporary outage |
Pagination
List endpoints support pagination via query parameters:Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
limit | integer | 50 | Number of items to return (max 100) |
offset | integer | 0 | Number of items to skip |
Response
Filtering & Searching
Filter by Context
Search Tasks
Filter by Status
Sorting
Sort results using thesort parameter:
- Prefix with
-for descending order - Multiple sort fields supported (comma-separated)
- Default:
-created_at
Versioning
The API uses URL-based versioning. Current version isv1:
/api/v2/). We’ll provide advance notice and migration guides for version changes.
Rate Limiting
All endpoints are rate-limited. See Rate Limits for details. Rate limit information is included in response headers:Data Types
UUIDs
All resource IDs use UUID v4 format:Timestamps
All timestamps are ISO 8601 formatted in UTC:Enums
Many fields accept only specific values:Idempotency
POST and PUT requests support idempotency via theIdempotency-Key header:
Webhooks (Coming Soon)
Subscribe to real-time events:OpenAPI Specification
Download the complete OpenAPI 3.0 specification:Download OpenAPI Spec
Use with Postman, Insomnia, or code generators
SDKs & Libraries
Official SDKs (coming soon):- JavaScript/TypeScript
- Python
- Go
- PHP (maintained by community)
- Ruby (maintained by community)
Getting Help
Quick Start Guide
Make your first API call in 5 minutes
Architecture Guide
Understand the system architecture
Support
Contact our support team
API Status
Check API uptime and incidents
API Changelog
Stay up to date with API changes:View Changelog
See recent updates and breaking changes