Upload Company File

Uploads a file to a company file category. The request must be a multipart/form-data POST. On success, a Location header is returned with the URL of the newly created file resource. The file must be under 20MB and use a supported extension. Uploading to read-only categories is not permitted. Uploading to implementation categories is not permitted on companies that have completed implementation.

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

The display name for the uploaded file.

integer
required

The ID of the file category (section) to upload the file into.

string
enum

Whether to share the file with all employees. Accepted values: yes or no. Defaults to no.

Allowed:
file
required

The file to upload.

Responses
201

The file was uploaded successfully. The Location header contains the URL of the new file resource.

400

The request is invalid: missing file name, missing file, zero-byte file, or unsupported file extension.

403

The API user does not have permission to upload files, or the target category is read-only.

404

The specified category ID was not found.

413

The file exceeds the 20MB limit or the company's storage limit.

503

The file storage API is temporarily unavailable.

Language
Credentials
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!