API Reference
Complete reference for all CaseHug API endpoints. All endpoints require authentication via X-Api-Key header.
Conventions
- • All endpoints return JSON with a
Content-Type: application/jsonheader - • List endpoints support
pageandper_pagequery params (max 100) - • Timestamps are ISO 8601 in UTC
- • IDs are prefixed strings (e.g.
mat_,cli_,doc_) - • Errors follow
{ error: { code, message, details } }format
⚖️
Full reference →Matters
— Core case and matter managementPOST
/api/v1/mattersCreate a new matterGET/api/v1/mattersList mattersGET/api/v1/matters/:idGet matter detailsPATCH/api/v1/matters/:idUpdate matterPOST/api/v1/matters/:id/archiveArchive matterPOST/api/v1/matters/:id/intake-linkGenerate intake linkPOST/api/v1/matters/:id/send-linkSend intake link to client👤
Full reference →Clients
— Client record management📄
Full reference →Documents
— Document requests and uploads🔔
Full reference →