API Reference
The Redline API provides Workspace-scoped access to Matters, documents, Turns, Clauses, approvals, and webhook subscriptions.
Conventions
- Base URL:
https://api.redline.example/v1 - Authentication: bearer API key on every request
- Request and response bodies: JSON, except binary document operations
- Timestamps: ISO 8601 in Coordinated Universal Time
- Pagination:
limitplus an opaquecursor - Errors: a stable
code, human-readablemessage, and request identifier
Resource identifiers are stable strings with prefixes such as mat_, doc_, trn_, cls_, apr_, and whs_. Treat identifiers and pagination cursors as opaque values.
Select an operation in the API Reference navigation to see its parameters, request body, response schema, and example.