Skip to content

Stage an article draft

Request

Stage changes to a published article as a draft by making a PUT request to https://api.intercom.io/articles/<id>/draft. The live article remains unchanged until the draft is published.

The article must already be published; staging a draft on an article that has never been published returns 422. That 422 has the short body { "errors": [{ "message": "...", "status": 422 }] }, with no type, request_id or code. Other 422 errors use the standard error format.

Only text content is staged: title, description, body or body_markdown, and author_id, including per-locale values in translated_content. Any other field in the request body, such as state, parent_id, folder_id, audience_ids, the AI availability fields or the scheduling fields, is still validated but not applied, so the live article is left untouched.

Requires the read_write_articles_scope or create_update_articles OAuth scope. Set Intercom-Version: Preview.

Security
bearerAuth
Path
idintegerrequired

The unique identifier for the article which is given by Intercom.

Example:123
Headers
Intercom-Versionstring(intercom_version)

Intercom API version.
If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.

Enum:"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:Preview
Bodyapplication/json

You can stage a draft for a published article. Only the fields below are staged; any other field in the request body is validated but not applied.

titlestring

The title of the draft. For multilingual articles, this will be the title of the default language's content.

Example:"Thanks for everything"
descriptionstring

The description of the draft. For multilingual articles, this will be the description of the default language's content.

Example:"Description of the Article"
bodystring

The content of the draft in HTML. For multilingual articles, this will be the body of the default language's content. Mutually exclusive with body_markdown.

Example:"<p>This is the body in html</p>"
body_markdownstring

The content of the draft in markdown. For multilingual articles, this will be the body of the default language's content. Mutually exclusive with body.

Example:"## Updated heading\n\nNew content.\n"
author_idinteger

The id of the author of the draft. 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.

Example:1295
translated_contentobject or null(Article Translated Content)

Draft content for other locales, keyed by locale code. Each locale must already be published on the article.

curl -i -X PUT \
  https://api.intercom.io/articles/123/draft \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Intercom-Version: Preview' \
  -d '{
    "title": "Christmas is here!",
    "body": "<p>New gifts in store for the jolly season</p>"
  }'

Responses

Draft staged

Bodyapplication/json

The Articles API is a central place to gather all information and take actions on your articles. Articles can live within collections and sections, or alternatively they can stand alone.

typestring

The type of object - article.

Default:"article"
Value:"article"
Example:"article"
idstring

The unique identifier for the article which is given by Intercom.

Example:"6871119"
workspace_idstring

The id of the workspace which the article belongs to.

Example:"hfi1bx4l"
content_idstring

The unique identifier for the article's content. For multilingual articles, this will be the identifier of the default language's content.

Example:"6871120"
titlestring

The title of the article. For multilingual articles, this will be the title of the default language's content.

Example:"Default language title"
descriptionstring or null

The description of the article. For multilingual articles, this will be the description of the default language's content.

Example:"Default language description"
bodystring or null

The body of the article in HTML. For multilingual articles, this will be the body of the default language's content.

Example:"Default language body in html"
body_markdownstring or null

The body of the article in markdown. For multilingual articles, this will be the body of the default language's content.

Example:"# Default language title\n\nDefault language body in markdown\n"
author_idinteger

The 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.

Example:"5017691"
statestring

Whether the article is published or is a draft. For multilingual articles, this will be the state of the default language's content.

Default:"draft"
Enum:"published""draft"
Example:"published"
created_atinteger, (date-time)

The time when the article was created. For multilingual articles, this will be the timestamp of creation of the default language's content in seconds.

Example:1672928359
updated_atinteger, (date-time)

The time when the article was last updated. For multilingual articles, this will be the timestamp of last update of the default language's content in seconds.

Example:1672928610
has_unpublished_changesboolean

Whether the published article has unpublished changes staged as a draft on top of its live content. Only returned on the Preview API version. For multilingual articles this reflects the default language's content; a pure draft (never published) reports false.

Example:false
draft_updated_atinteger or null, (date-time)

The time, in seconds, when the staged draft was last edited, or null when there is no staged draft. Only returned on the Preview API version.

Example:1672928610
urlstring or null

The URL of the article. For multilingual articles, this will be the URL of the default language's content.

Example:"http://intercom.test/help/en/articles/3-default-language"
url_redirectsarray of strings or null

URLs that redirect to this article. Null when the article has no content yet.

Example:
[ "/help/old-article-slug" ]
parent_idsarray of integers

The ids of the article's parent collections or sections. An article without this field stands alone.

Example:
[ 18, 19 ]
audience_idsarray of integers or null

The list of audience IDs this article is targeted to for Fin AI Agent. This field is only returned for single-language help centers. For multilingual help centers it appears per locale inside translated_content. Empty array means no audience targeting is set.

Example:
[ 1, 2 ]
default_localestring

The default locale of the help center. This field is only returned for multilingual help centers.

Example:"en"
translated_contentobject or null(Article Translated Content)

The Translated Content of an Article. The keys are the locale codes and the values are the translated content of the article.

tagsobject(Tags)

A list of tags objects associated with a conversation, article or internal article

folder_idinteger or null

The ID of the folder this article belongs to, or null if not in a folder.

Example:6
ai_chatbot_availabilityboolean

Whether the article is available for AI Chatbot. For multilingual articles, this will be the value of the default language's content.

Example:true
ai_copilot_availabilityboolean

Whether the article is available for AI Copilot. For multilingual articles, this will be the value of the default language's content.

Example:true
ai_sales_agent_availabilityboolean

Whether the article is available for AI Sales Agent. For multilingual articles, this will be the value of the default language's content.

Example:true
created_by_idinteger or nullread-only

The ID of the teammate who created the article. For multilingual articles, this will be the creator of the default language's content.

Example:5017691
updated_by_idinteger or nullread-only

The ID of the teammate who last updated the article. For multilingual articles, this will be the last editor of the default language's content.

Example:5017691
exclude_from_article_suggestionsbooleanread-only

Whether the article is excluded from Fin AI Agent article suggestions.

Example:false
help_center_audiencestring or nullread-only

The audience that can view this article in the Help Center. everyone means all users and visitors can view it; restricted indicates a custom audience ruleset. For multilingual articles, this is the article-level audience.

Enum:"everyone""all_users""all_visitors""all_leads""all_visitors_and_leads""restricted"
Example:"everyone"
scheduled_publish_atinteger or null, (date-time)read-only

The Unix timestamp (in seconds) at which the article is scheduled to be published. null when no publish is scheduled. Mutually exclusive with scheduled_unpublish_at — at most one pending schedule exists per article.

Example:1769443200
scheduled_unpublish_atinteger or null, (date-time)read-only

The Unix timestamp (in seconds) at which the article is scheduled to be unpublished. null when no unpublish is scheduled. Mutually exclusive with scheduled_publish_at — at most one pending schedule exists per article.

Example:1769443200
statisticsobject or null(Article Statistics)

The statistics of an article.

Response
{ "id": "48", "type": "article", "workspace_id": "this_is_an_id80_that_should_be_at_least_4", "parent_ids": [], "folder_id": null, "statistics": { "type": "article_statistics", "views": 0, "conversations": 0, "reactions": 0, "happy_reaction_percentage": 0, "neutral_reaction_percentage": 0, "sad_reaction_percentage": 0, "fin_involvements": 0, "fin_resolutions": 0, "fin_resolution_rate": 0 }, "tags": { "type": "tag.list", "tags": [] }, "exclude_from_article_suggestions": false, "help_center_audience": "everyone", "scheduled_publish_at": null, "scheduled_unpublish_at": null, "content_id": "79", "title": "Christmas is here!", "description": "", "body": "<p class=\"no-margin\">New gifts in store for the jolly season</p>", "body_markdown": "New gifts in store for the jolly season\n", "author_id": 991267508, "state": "published", "created_at": 1734537297, "updated_at": 1734537298, "url": "http://help-center.test/myapp-80/en/articles/48-christmas-is-here", "audience_ids": [], "ai_chatbot_availability": true, "ai_copilot_availability": true, "ai_sales_agent_availability": true, "created_by_id": 5017691, "updated_by_id": 5017691, "has_unpublished_changes": true, "draft_updated_at": 1734537298 }