Uploads a file.

Endpoint URL


Authentication and rate limits

Authentication methodOAuth 2.0 Bearer token
Rate limitRate Limit

Requests Example

curl --request POST \
  --url 'https://develop-api.revnue.com/api/v2/file-upload' \
  --header 'Authorization: Bearer $BEARER_TOKEN' \
  --form 'company="1"' \
  --form 'filename=@"/path/to/file"'


  • company (integer) --

    The ID of the specific company your API is calling. For accounts with only one company, the default value is 1.
    To lookup a specific company ID, see the List Company API.

  • filename (string) --

    The filename including path.
    Allowed file extensions: .jpeg, .jpg, .png, .pdf, .doc, .docx, .xls, .xlsx
    Up to 5MB for images and 10MB for other file types.

Response Syntax

    "details": "file uploaded"

Response Fields