Update an article

Example Request & Response (Multilingual Help Center)

  1. curl
  2. http
$ curl https://api.intercom.io/articles/<id> \\\n-X PUT \\\n-H 'Authorization:Bearer <Your access token>' \\\n-H 'Accept:application/json'\n-H 'Content-Type: application/json' -d\n\n{\n  \"title\": \"New title\",\n  \"translated_content\": {\n    \"es\": {\n      \"title\": \"Nuevo título\",\n      \"state\": \"published\",\n      \"body\": \"<p>Spanish body in html</p>\",\n      \"author_id\": \"1\"\n    }\n  }\n}

You can update the details of a single article by making a PUT request to https://api.intercom.io/articles/<id>.

Request Path Parameters

ParameterTypeRequired?Description
idStringYesThe unique identifier for the article which is given by Intercom.

Request Body Parameters

AttributeTypeRequired?Description
titleStringNoThe title of the article.
For multilingual articles, this will be the title of the default language's content.
descriptionStringNoThe description of the article.
For multilingual articles, this will be the description of the default language's content.
bodyStringNoThe body of the article in HTML.
For multilingual articles, this will be the body of the default language's content.
author_idStringNoThe id of the author of the article.
For multilingual articles, this will be the id of the author of the default language's content. Must be a teammate on the help center's workspace.
stateStringNoWhether the article will be published or will be a draft.
For multilingual articles, this will be the state of the default language's content.
parent_idStringNoThe id of the article's parent collection or section. An article without this field stands alone.
parent_typeStringNoThe type of parent, which can either be a collection or section.
translated_contentObjectNoAn Article Translated Content Object whereby you can specify multiple multilingual articles to be updated.

Response

This will return an Article model of the article you just updated.