Authorizations
Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
Creates a pre-signed URL for uploading an expense receipt document
curl --request POST \
--url https://api.light.inc/v1/expenses/upload-url \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json;charset=UTF-8' \
--data '{
"filename": "<string>",
"contentType": "<string>"
}'{
"uploadUrl": "<string>",
"key": "<string>",
"metadata": {}
}Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
curl --request POST \
--url https://api.light.inc/v1/expenses/upload-url \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json;charset=UTF-8' \
--data '{
"filename": "<string>",
"contentType": "<string>"
}'{
"uploadUrl": "<string>",
"key": "<string>",
"metadata": {}
}