API
Access your data programmatically, build integrations, or automate workflows.
API Key Required
All requests require
X-API-Key header.
View your key ›
Base URL
https://casey.dmcc.io/api
Authentication
Include your API key in every request:
curl -H "X-API-Key: YOUR_API_KEY" https://casey.dmcc.io/api/tasks
Endpoints
Journal Entries
GET
/api/journal
Get recent journal entries (default: 30)
Query:
?limit=10
GET
/api/journal/2026-02-09
Get journal entry for a specific date
POST
/api/journal/2026-02-09
Create or update journal entry
{"content": "Today was productive..."}
Tasks
GET
/api/tasks
Get all tasks
Query:
?completed=0 (0 or 1)
POST
/api/tasks
Create a new task
{"title": "Finish the report"}
GET
/api/tasks/:id
Get a specific task
PUT
/api/tasks/:id
Update a task
{"completed": 1}
DELETE
/api/tasks/:id
Delete a task
Blips
GET
/api/blips
Get all blips
POST
/api/blips
Create a new blip
{"content": "Quick idea: integrate with Notion"}
GET
/api/blips/:id
Get a specific blip
DELETE
/api/blips/:id
Delete a blip
Response Format
All responses are JSON. Errors return appropriate status codes:
{"error": "Invalid or missing API key"}
Example
curl -X POST \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"Review API documentation"}' \
https://casey.dmcc.io/api/tasks