Stage Attachment

Stage an attachment for later association with a chat message.

Uploads file to temporary staged storage. Returns staged_id for use with chat endpoint's staged_attachment_ids parameter. Staged files are promoted to documents when the chat message is sent.

REQUIREMENT: Must return 200 within 2 seconds

Authentication: JWT required via Authorization header

Args: file: Single file to stage child_id: UUID of child this attachment belongs to

Returns: JSON with staged_id, filename and file_size for tracking

post/attachments/stage

Request

  • Base URL
    https://api.projectindi.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Request body multipart/form-data

filestring binary required
child_idstring required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.