Skip to main content
POST
Stage an attachment for a new task

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.

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.

draft_context_id
string<uuid>
required

Validation: required|uuid.

Example:

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

intended_subject_type
enum<string>
required

Validation: required|in:task.

Available options:
task
Example:

"task"

Response

Stage an attachment for a new task response.

data
object