How do I update articles with the API in Zendesk?

Return to top

7 Comments

  • Alisha Strawbridge

    Hi there, That link on Translations brings me to a 404 - not found.

    0
  • Kat O'Toole
    Hi Alisha, 

    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:

    • There's no way to know if a published article has been edited and saved via the Admin UI.
    • There's no way to see the edited version of an article vs the published article.

    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:

    The [article] 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. 

    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
    Zendesk Engineering
    Hello Ari,
     
    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

Please sign in to leave a comment.

Powered by Zendesk