PUT, POST

/api/public/v1/support/uploads/{uploadId}

Live

Send one chunk (PUT ?index=N) or complete the upload (POST).

Parameters

NameInRequiredDescription
indexquery (PUT)trueZero-based chunk number. Re-sending a chunk is harmless.

Response

PUT: { received: N }. POST: { attachment: { id, filename, contentType, sizeBytes } }, or 409 with the list of chunks received if some are missing.

Example

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