API - download attachments with Safe Download enabled
Hello, I am using the incremental export API with a micro service to retrieve articles and save the history. Now I would also like to save the attachments of a comment.
We have decided to enable secure downloads in order not to make any sensitive attachments publicly available.
Unfortunately, with this setting I cannot load the attachments via my micro service because I have to authenticate again.
If I disable Secure Download, I can also download the attachments, but this does not comply with our security rules. Is there any trick?
-
Hi Linus!
If you want to get the attachment of a comment, you will have to use this endpoint : https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_comments/#list-comments
- GET /api/v2/tickets/{ticket_id}/comments
this will return all the comments within the ticket and the direct link to the attachment.
-
Hi Phoebe Morin I have tried above but when I try to access content_url outside of zendesk, its requesting credential to download the file.
Is there a way we can attach/upload the file from downloading once instance to another instance without storing that file externally -
This request was closed and merged into request #9805529 "[Community Post] Download the Ze...".
-
I sure wish these forum posts wouldn't get merged into requests I don't have access to. If the solution is there, it's incredibly not helpful.
Por favor, entrar para comentar.
4 Comentários