Upload a file

⚠️

This endpoint is deprecated. Use Upload a file from the Company API v2 instead. Your firm token can call it for any company of your firm through the X-Company-Id header. Learn how to use your firm token with the Company API v2.

Upload a file to attach to any resource that provides a file_attachment_id.

The maximum allowed file size is 100MB.
Note that this will not upload a file into the DMS (GED).

ℹ️

This endpoint requires the following scope: file_attachments:all

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Existing company identifier (id)

Body Params
file
required

The file you want to upload.
Allowed content types:

  • image/png
  • image/jpeg
  • image/tiff
  • image/bmp
  • image/gif
  • application/pdf
string
length ≤ 255

Name of the file. If not provided, the default value will be the uploaded file name.

Responses

414

URI Too Long: the request URL exceeds the maximum length. Shorten the query string, for example by sending fewer values per query parameter and splitting them across several requests.

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json