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/json header
  • • List endpoints support page and per_page query 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
⚖️

Matters

Core case and matter management
Full reference →
👤

Clients

Client record management
Full reference →
📄

Documents

Document requests and uploads
Full reference →
🔔

Webhooks

Webhook endpoint management
Full reference →
🏢

Firms

Firm settings and administration
Full reference →