List documents
AuthenticationRequires bearerAuth.
Description
Returns documents in a Matter, including drafts, returned redlines, and the Executed Copy.
Parameters
matter_idpathstringrequired
Matter identifier.
limitqueryintegerdefault:
20Maximum number of records to return, from 1 to 100.
cursorquerystring
Opaque cursor from the previous page response.
kindquerystring
Allowed values:
draftredlinesupportingexecuted_copyReturn only documents of this kind.
Responses
200A page of documents.
application/jsondataobject[]required
next_cursorstring | nullrequired
Example response
{
"data": [
{
"id": "doc_01JAZ7C3V9",
"matter_id": "mat_01JAZ6Q7K2",
"name": "Example Counterparty MSA v3.docx",
"kind": "draft",
"media_type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"size_bytes": 284219,
"version_number": 3,
"created_at": "2026-07-11T19:40:02Z"
}
],
"next_cursor": null
}401The API key is missing, malformed, expired, or revoked.
application/jsonerrorobjectrequired
Example response
{
"error": {
"code": "unauthorized",
"message": "Provide a valid bearer API key.",
"request_id": "req_01JAZA0P8M"
}
}404The resource was not found in the authenticated Workspace.
application/jsonerrorobjectrequired
Example response
{
"error": {
"code": "not_found",
"message": "The requested resource was not found.",
"request_id": "req_01JAZA0P8M"
}
}