Skip to content

LawVu API

The next generation of the LawVu API.

Download OpenAPI description
Overview
Languages
Servers
Sandbox API

https://api-sandbox.lawvu.com/

Production API

https://api.lawvu.com/

Contracts

Operations

Fields

Operations

Files

Operations

Delete file

Request

Delete a file

Path
fileIdinteger(int32)required

The system identifier for the file

Example: 9456
No request payload

Responses

No Content

Response
No content

Upload file version

Request

Upload a new version of a file

Path
fileIdinteger(int32)required

The system identifier for the file

Example: 9456
Bodymultipart/form-data
filestring(binary)required
multipart/form-data
boundary=abc1234
abc1234
Content-Disposition: form-data; name="file"; filename="new-file-version.pdf"
Content-Type: application/pdf
<Binary file contents>
abc1234

Responses

Created

Headers
Locationstring

Relative location to retrieve the new version of the file

Bodyapplication/json
idinteger(int32)read-only

The system identifier for the file

Example: 9456
Response
application/json
{ "id": 9456 }

Get file content

Request

Retrieve the content of a file

Path
fileIdinteger(int32)required

The system identifier for the file

Example: 9456
No request payload

Responses

The binary content of the file.

Headers
Content-Typestring

The content type of the file content

Content-Lengthinteger

The length in bytes of the file content

Content-MD5string

The MD5 hash of the file content

Content-Dispositionstring

The content disposition of the file content

Bodyapplication/octet-stream
string(binary)
Response
No content

Upload file

Request

Upload a file

Bodymultipart/form-data
filestring(binary)required
targetResourceTypestringrequired
Enum"Matter""Contract""ContractCreation"
targetResourceIdinteger(int32)
folderIdinteger(int32)
multipart/form-data
boundary=abc1234
abc1234
Content-Disposition: form-data; name="file"; filename="contract.pdf"
Content-Type: application/pdf
<Binary file contents>
abc1234
Content-Disposition: form-data; name="targetResourceType"
ContractCreation
abc1234

Responses

Created

Headers
Locationstring

Relative location to retrieve the created file

Bodyapplication/json
idinteger(int32)read-only

The system identifier for the file

Example: 9456
Response
application/json
{ "id": 9456 }

Matters

Operations