Hi,
It seems it's not possible to grab attachments info per ticket via the API. For example, this GET request:
https://{subdomain}.zendesk.com/api/v2/tickets/{ticket id}/
returns single ticket info. Using side-loading we can also get users info. There's no support for grabbing the attachments programmatically (per ticket).
The attachments API doesn't seem to provide any connection with the respective ticket. Even if I use an app to get the id, as it was suggested by Zendesk support, there's still no connection to the ticket, or how it could be used within the API.
Am I missing something? Is there a workaround?
Kind Regards,
Stef