post https://api.dashboard.strev.ai/api/v2/file-upload
Uploads a file.
Endpoint URL
  https://{{base_url}}/api/v2/file-upload
Authentication and rate limits
| Item | Details | 
|---|---|
| Authentication method | OAuth 2.0 Bearer token | 
| Rate limit | Rate Limit | 
Requests Example
curl --request POST \
  --url "https://{{base_url}}/api/v2/file-upload" \
  --header "Authorization: Bearer $BEARER_TOKEN" \
  --form "company="1"" \
  --form "filename=@"/path/to/file""
Form-Data
- 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. - filename (string) --
        
[REQUIRED]
The filename including path.
Allowed file extensions:.jpeg,.jpg,.png,.pdf,.doc,.docx,.xls,.xlsx
Up to5MBfor images and10MBfor other file types. 
