POST
/
ext
/
v1
/
invoice-payables
/
{invoicePayableId}
/
document
/
upload-url
Creates a URL to upload the invoice payable attached document
curl --request POST \
  --url https://api.light.inc/rest/ext/v1/invoice-payables/{invoicePayableId}/document/upload-url \
  --header 'Content-Type: application/json;charset=UTF-8' \
  --data '{
  "documentName": "<string>",
  "contentType": "<string>"
}'
{
  "uploadUrl": "<string>",
  "headers": {}
}

Path Parameters

invoicePayableId
string<uuid>
required

Body

application/json;charset=UTF-8

Response

default - application/json;charset=UTF-8

default response

The response is of type object.