v2

latestOpenAPI 3.0.12026-07-262352981007.0 KB
Files

Get upload url for a file

Retrieves upload details for a specified matter file.

get/matters/{matterId}/documents/files/{fileId}/upload

Path parameters

matterIdstring required
fileIdstring required

Response

When request is successful. Returns an 'UploadFileInfo' object.

fileIdstring nullable

Unique identifier of the file.

uploadUrlstring nullable

Temporary Link to upload file.

Important note: When uploading to this URL, set the 'Content-Type' header to an empty value.

Example cURL: curl --location --request PUT 'URL_GOES_HERE' \ --header 'Content-Type: ""' \ --data '@/C:/dir/test.pdf'

expirystring date-time

Expiry date/time when the upload link is no longer accessible.

Example response

{
  "fileId": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2",
  "expiry": "2022-04-23T14:30:00Z"
}