Question
How do I update help center articles with the API?
Answer
The Update Article API endpoint only allows you to update article metadata. These endpoints update article-level metadata such as its promotion status or sorting position. The endpoints do not update translation properties such as the article's title, body, or draft.
To make updates to the body of the existing articles, use the Translations endpoint.
7 comments
Alisha Strawbridge
Hi there, That link on Translations brings me to a 404 - not found.
0
Kat O'Toole
Thank you for raising the broken link with us, we are looking into this now and will have this fixed soon.
In the mean time you can view the correct translation end point link HERE.
Regards,
Kat O'Toole
Zendesk Support
0
James Ratcliffe
When I update a translation with the API, the changes are published immediately. Is there way to update the translations without publishing? Thanks in advance.
2
David Lowe
Hi James,
I'm afraid that we don’t (yet) have an API to do proper content production, which would assist with this scenario of updating translation content.
My apologies for the inconvenience on this one!
0
Ben Spry
I ran into a couple of limitations with the help center API:
It would be really helpful to get that info added to responses 🙏
Thanks
0
Ari
To confirm based on the first post at the top of the page:
Is there no way to batch update the titles of multiple articles at a time with a PUT that has all the updates in a JSON?
For example,
PUT /api/v2/help_center/articles/{article_id}/translations/{locale}
0
Paolo
Unfortunately, there is no endpoint for batch update of the article title. As an alternative, you can send consecutive API calls with that endpoint you've mentioned. Here are some references if you are using Postman:
Best,
Paolo | Technical Support Engineer | Zendesk
0