cURL
curl --request POST \ --url https://api.smokeball.com/matters/{matterId}/documents/files/{fileId}/preview \ --header 'Authorization: <api-key>' \ --header 'x-api-key: <api-key>'
{ "fileId": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2", "documentVersionId": "<string>", "downloadUrl": "", "expiry": "2022-04-23T14:30:00Z" }
Creates a preview for the specified file.
When request is accepted.
The response is of type object.
object