POST

/api/public/v1/support/tickets/{ticketId}/attachments

Live

Attach a file to a ticket (attachments:write).

Parameters

NameInRequiredDescription
filename, contentBase64body (POST)trueUp to 4 MB after decoding. Executables and scripts are refused; files are stored encrypted and are policy-checked only (there is no antivirus engine).

Response

201 { attachment: { id, filename, contentType, sizeBytes } }.

Example

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