Upload a document

Uploads a new document file and creates a document record for the authenticated employee's company.

The request must use multipart/form-data encoding. A random 8-character suffix is appended to the stored filename automatically to prevent name collisions in storage.

The document can optionally be linked to a specific job and tagged for better organization.

Body Params

Multipart form data containing the document file and optional metadata.

string
required
length ≤ 1000

Display name for the document.

file
required

The document file to upload. PDF format is expected.

string | null

Optional description or notes about the document.

tags
array of strings

Optional list of tags to assign to the document.

tags
string

Comma-separated list of tags, as an alternative to the tags array field. When both are provided, tags takes precedence.

integer

Optional ID of the job to associate this document with.

related_to
object
Responses

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