Endpoint URL
https://dashboard-api.revnue.com/api/v2/file-download
Authentication and rate limits
Item | Detail |
---|---|
Authentication method | OAuth 2.0 Bearer token |
Rate limit | Rate Limit |
Requests Example
curl --request GET \
--url 'https://dashboard-api.revnue.com/api/v2/file-download/?company=1&file=$id' \
--header 'Authorization: Bearer $BEARER_TOKEN'
Query Parameters
- company (integer) --
[REQUIRED]
The ID of the specific company your API is calling. For accounts with only one company, the default value is1
.
To lookup a specific company ID, see the List Company API. - file (integer) --
[REQUIRED]
The ID of the specific file you are downloading. The file parameter is passed as part of the request url&file=$id
.
To lookup a specific file ID, see the List File API.
Response Syntax
{
"file_url": "string"
}
Response Fields
- file_url (string) --
The download URL of the file. The URL expires in 1 hour.