GuidesAPI ReferenceChangelogAPI StatusAPI PolicyGusto Security
API Reference

Create Company Attachment and Upload File

Upload a file and create a company attachment. We recommend uploading PDF files for optimal compatibility. However, the following file types are allowed: .qbb, .qbm, .gif, .jpg, .png, .pdf, .xls, .xlsx, .doc and .docx.

Related guides

scope: company_attachments:write

Path Params
string
required

The UUID of the company

Body Params
file
required

The binary payload of the file to be uploaded. Supported file types are .qbb, .qbm, .gif, .jpg, .png, .pdf, .xls, .xlsx, .doc and .docx.

string
enum
required

The category of a company attachment.

  • gep_notice: A tax notice attachment
  • compliance: A compliance attachment
Allowed:
Headers
string
enum
Defaults to 2026-02-01

Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.

Allowed:
Responses

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