Skip to main content
files

Upload a file

Upload a file onto a parent record (multipart field file). Optional description. Requires edit on the parent module. Uploads have a stricter rate limit than other API calls (15/min). Not available for tickets (read-only).

POST
/{module}/{uuid}/files
Authorizationstringheaderrequired

API key (Bearer token) created in Setup → API & MCP.

moduleenum<string>required

Parent API v4 module. Files land on that record’s Files tab.

Available options: projects, clients, leads, objects, opportunities, invoices, credit_notes, expenses, contracts, documents, pre_invoices
uuidstringrequired

Parent record UUID.

Body

multipart/form-data
descriptionstring

Optional file description.

filestringrequired

The file to attach. Types follow the account’s allowed upload formats.

Response

application/json

File stored on the parent record.

recordobject