v2

latestOpenAPI 3.0.12026-07-262352981007.0 KB
Files

Get files on a matter

Returns a list of files associated with a matter. Defaults to ascending order of date created, i.e. oldest first, unless sort option is supplied. Custom sorting and searching options does not apply to cursor-based pagination.

get/matters/{matterId}/documents/files

Path parameters

matterIdstring required

Query parameters

Offsetinteger
Limitinteger
Cursorstring
Sortstring

Available fields: dateCreated

Searchstring[]

Available fields: query, fileExtension

Response

When request is successful. Returns a paged collection of 'File' objects.

idstring nullable
hrefstring nullable
relationstring nullable
methodstring nullable
offsetinteger nullable
limitinteger nullable
sizeinteger

Example response

{
  "value": [
    {
      "id": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2",
      "name": "court filing",
      "fileExtension": ".pdf",
      "ownerId": "750eb5c5-ac0b-7d11-4997-e0ce9d8896c8",
      "to": "recipient@email.com",
      "from": "sender@email.com",
      "dateCreated": "2022-04-23T14:00:00Z",
      "dateModified": "2022-04-25T17:00:00Z",
      "sizeBytes": 19104768
    }
  ]
}