Skip to main content
GET
Get download url for a file

Authorizations

x-api-key
string
header
required
Authorization
string
header
required

Path Parameters

matterId
string
required

Unique identifier (GUID) of the matter.

fileId
string
required

Unique identifier (GUID) of the file.

Query Parameters

versionId
string

Optional. Unique identifier of the file version to download. Must be a version of this file. Defaults to the current version.

Response

When request is successful. Returns a 'DownloadFileInfo' object.

fileId
string | null

Unique identifier of the requested file

Example:

"b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2"

name
string | null

Name of the file, excluding file extension.

Example:

"court filing"

fileExtension
string | null

Extension of the file.

Example:

".pdf"

downloadUrl
string | null

Temporary presigned URL to download the file content with an HTTP GET request. Valid for 1 hour from the time of the API call (see Expiry).

Example:

"https://example-bucket.s3.amazonaws.com/files/2f1c9a3e-6b1d-4c7e-9a0f-1d2e3f4a5b6c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=3600&X-Amz-Signature=..."

expiry
string<date-time>

UTC date/time when the download link is no longer accessible (1 hour after issue)

Example:

"2022-04-23T14:30:00Z"

sizeBytes
integer<int64>

Size of the content behind DownloadUrl (in bytes). For the extracted text endpoint this is the size of the extracted text, not of the original file.

Example:

19104768