Issue with Articles Incremental Exports API | Community
Skip to main content

Issue with Articles Incremental Exports API

  • April 1, 2022
  • 1 reply
  • 0 views

ankit14

I am trying to export all Articles from Help Center using the incremental export API. I am using the below endpoint with start_time as 1648656287 (March 30, 1980).

https://{subdomain}.zendesk.com/api/v2/help_center/incremental/articles?start_time={start_time}

Here, my understanding is that this will return all the articles as all of them are created after provided start_time only. Once I get the complete data then I plan to perform the incremental load using the end_time.

However, I have noticed that this endpoint does not return all the articles when I hit it with start_time as 1648656287. I know that we have more than 4000 articles (more than 300 for each of language) but this endpoint returns only 1345 articles in 2 batches. 

Could you please help me how can I get the complete articles using this endpoint.

1 reply

Hey Ankit,
 
The incremental export endpoints return a maximum of 1,000 records per request.  To retrieve all of the articles, use the next_page value returned in the response to get the next 1,000 records.  Repeat this process until you've reached the last page (next_page = null).
 
Best,