API ticket creation with attachments returns no error but attachments are not recognized. Using base64 encoded data with a 'type' field.
The attachment format in the osTicket API is not {name, type, data} -- it must be a key-value pair where the key is the filename and the value is a data URI string: {file.txt": ""data:text/plain;charset=utf-8"
Originally sourced from forum.osticket.com . osFAQ.org summarises community knowledge for quick reference.
Helpful
Report an error