Recent searches
No recent searches
Find Help Center Articles with Attachments
Answered
Posted Oct 14, 2022
Is there a way to find Help Center article that have attachments? I know we have only a few, but I don't know which articles!
0
3
Recent searches
No recent searches
Posted Oct 14, 2022
Is there a way to find Help Center article that have attachments? I know we have only a few, but I don't know which articles!
0
3 comments
Anne Ronalter
Thank you for your Feedback on that.
Natively this is unfortunately not possible but as a workaround,
you can use our List Articles API endpoint to get all the article IDs and then use the article ID along with Show Article Attachment API endpoint.
The Show Article Attachment API endpoint will return a JSON result showing if there's an attachment or none.
- https://developer.zendesk.com/rest_api/docs/help_center/articles#list-articles
- https://developer.zendesk.com/rest_api/docs/help_center/article_attachments#show-article-attachment
0
DonnaJ
But, it looks from what you provide, above, that I would have to run the 2nd option for EACH article to find which ONES have attachments. Is there no way for something to look at all articles and tell me which ONES have attachments?
0
Dainne Kiara Lucena-Laxamana
Hi DonnaJ,
At the moment that is the only workaround, but you can make a script that fetches all the articles' IDs, then loop through them to fetch the attachments.
0