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": {}
}
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": {}
}
default response
The response is of type object
.