POST

/api/public/v1/support/uploads

Live

Start a large attachment upload (attachments:write). Files up to 25 MB are sent in 3 MB chunks.

Parameters

NameInRequiredDescription
ticketId, filename, size, sha256body (POST)ticketId, filename, size requiredType and size are checked before any bytes are sent. sha256 (hex) is optional and, when given, verified after assembly.

Response

{ uploadId, chunkBytes, chunks, filename }. Then PUT /api/public/v1/support/uploads/{uploadId}?index=N with the raw bytes of chunk N (chunkBytes each, the last one shorter), and POST /api/public/v1/support/uploads/{uploadId} to assemble, scan and store the file. A file that fails the malware scan is refused with reasonCode MALWARE_DETECTED.

Example

curl -H "Authorization: Bearer $INAYA_API_KEY" \
  "https://app.inaya.network/api/public/v1/support/uploads"