Files
Get a file
Changed onRetrieves a specified file. The file must belong to the matter in the route.
get/matters/{matterId}/documents/files/{fileId}
Request
- Base URLhttps://api.smokeball.com
- URLhttps://api.smokeball.com/matters/{matterId}/documents/files/{fileId}
- AuthAPI key in header x-api-key and API key in header Authorization
Path parameters
matterIdstring required
Unique identifier (GUID) of the matter.
fileIdstring required
Unique identifier (GUID) of the file.
Response
When request is successful. Returns a 'File' object.
Example response
{
"id": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2",
"versionId": "0f8fad5b-d9cb-469f-a165-70867728950e",
"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,
"additionalData": {
"source": "Outlook",
"pageCount": 12,
"isSigned": true
}
}Changes
- info
added the non-success response with the status
- info