Company Files
Public API
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.
OAuth Scopes: company_file.write
post/api/v1/files
Request
- Base URLhttps://companySubDomain.bamboohr.com
- Auth
- HTTP basic
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopescompany_file.write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body multipart/form-data
Response
The file was uploaded successfully. The Location header contains the URL of the new file resource.
Changes
No recorded changes to this operation across all 2 revisions of this API.