Attaching files to Zendesk comments using SDK/API

In addition to generating comments and tickets through Zendesk API, we can also attach files to comments. The method is simple and straightforward. You basically provide the uploaded file path and MIME type to upload method of the Attachments API and it will return an attachment token that will then …