get https://api.dashboard.strev.ai/api/v2/file/?company=1
Lists all (or one) files.
Endpoint URL
https://{{base_url}}/api/v2/file
Authentication and rate limits
Item | Detail |
---|---|
Authentication method | OAuth 2.0 Bearer token |
Rate limit | Rate Limit |
Requests Example
curl --request GET \
--url "https://{{base_url}}/api/v2/file/?company=1" \
--header "Authorization: Bearer $BEARER_TOKEN"
curl --request GET \
--url 'https://dashboard-api.revnue.com/api/v2/file/?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) --
Optional if you want to list a specific file ID. The file parameter is passed as part of the request url
&file=$id
.