Skip to main content
POST
Upload a record collaboration attachment

Authorizations

Authorization
string
header
required

Passport bearer token authentication for legacy admin sessions.

Headers

Idempotency-Key
string<uuid>
required

UUID for this upload request. Reuse only for the identical file and draft/subject context.

Path Parameters

subjectType
string
required

Supported collaboration subject type.

subjectId
integer
required

ID of the accessible collaboration subject.

Body

multipart/form-data

Request fields accepted by this operation. Omitted optional properties retain the behavior described above.

file
file
required

Required file, at most 10240KB. PDF, JPEG/PNG/GIF/WebP, plain text/CSV, Word and Excel formats are accepted; extension must match detected MIME.

comment_id
integer | null

Optional comment association; mutually exclusive with draft_context_id.

Example:

1

draft_context_id
string<uuid> | null

Optional unsaved comment draft UUID; mutually exclusive with comment_id.

Example:

"b2e01bb7-6c5a-4bc6-9ee6-20b5a4295605"

Response

Upload a record collaboration attachment response.

data
object