public-api

V1 Upload Document

Upload a document in one multipart request (20 MiB max). Most non-executable file types are accepted; encrypted, malformed, or unsafe files are rejected. Pass deal_id to attach to a matter, contract_id for a new version of an existing document, or neither to open a fresh matter.

post/api/v1/documents

Request

  • Base URL
    https://api.general.legal
  • URL
    https://api.general.legal/api/v1/documents
  • Auth
    HTTP bearer

Headers

authorizationstring nullable

Request body multipart/form-data

filestring binary required
deal_idstring uuid nullable
contract_idstring uuid nullable
context_for_legalstring nullable
last_edit_bystring

Response

Successful Response

contractsobject[] nullable

Changes

No recorded changes to this operation across all 1 revision of this API.