Generates a secure upload URL for invoice payable documents
cURL
curl --request POST \ --url https://api.light.inc/v1/invoice-payables/{invoicePayableId}/document/upload-url \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json;charset=UTF-8' \ --data ' { "documentName": "<string>", "contentType": "<string>" } '
{ "uploadUrl": "<string>", "headers": {} }
Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
Original file name of the document.
MIME type of the uploaded document (e.g. application/pdf).
default response
Pre-signed URL to which the invoice payable document can be uploaded.
HTTP headers required when uploading the document to the pre-signed URL.
Show child attributes