POST
/
ext
/
v1
/
expenses
/
upload-url
Creates a URL to upload an expense receipt
curl --request POST \
  --url https://api.light.inc/rest/ext/v1/expenses/upload-url \
  --header 'Content-Type: application/json;charset=UTF-8' \
  --data '{
  "filename": "<string>",
  "contentType": "<string>"
}'
{
  "uploadUrl": "<string>",
  "key": "<string>",
  "metadata": {}
}

Body

application/json;charset=UTF-8

Response

default - application/json;charset=UTF-8

default response

The response is of type object.