v1 - Contracts

Generate document upload URL

Generates a pre-signed URL to upload the main contract document (PDF). After uploading to this URL, the document will appear in the contract's document preview.

post/v1/contracts/{contractId}/generate-document-upload-url

Request

  • Base URL
    https://light.inc (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header Authorization
    • or HTTP bearer

Path parameters

contractIdstring uuid required

Request body

filenamestring

Name of the file to upload

Response

default response

uploadUrlstring

Pre-signed URL to upload the document to

keystring

Key to identify the uploaded document

metadataobject nullable

Metadata to include with the upload request

Changes

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