Upload a file or document with support api

Upload a file or document with support api

Hello,

We currently use addrecords to post requests to our support portal. We would also like to add attachments. How is that done?

Thank you