v1 - Invoice Payables

Generate document upload URL

Generates a secure upload URL for invoice payable documents

post/v1/invoice-payables/{invoicePayableId}/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

invoicePayableIdstring uuid required

Request body

documentNamestring

Original file name of the document.

contentTypestring

MIME type of the uploaded document (e.g. application/pdf).

Response

default response

uploadUrlstring url

Pre-signed URL to which the invoice payable document can be uploaded.

headersobject

HTTP headers required when uploading the document to the pre-signed URL.

Changes

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