Any way to fetch deleted Help Center pages from API? | Community
Skip to main content

Any way to fetch deleted Help Center pages from API?

  • August 11, 2022
  • 2 replies
  • 0 views

Mario14

I'm indexing pages from different sources to display on a website. I can fetch new articles from the help center using the API, but how do I delete them from my index if they are removed from Zendesk? I can't find an endpoint for this. Is there a way to do this?

2 replies

Eric27
  • August 11, 2022
Hey Mario, 

Unfortunately there isn't an endpoint that you can call to pull a list of deleted articles. You could however just loop through the index of the HC articles and compare with a new pull. Any that don't exist in the most recent pull you'd know had been deleted.

Hope this helps!

Mario14
  • Author
  • August 11, 2022

Thanks for the suggestion Eric. Yeah, I think I'll have to do something like that. Cheers.