Create Help Center Article
create_articleCreate a new Zendesk Help Center article in a specified section with title, HTML body, locale, and permissions, then receive the created article's ID. Optionally set as draft or publish immediately.
Instructions
Create a new article in a section and return the created article with its id. The locale becomes the article's source_locale. Requires a permission_group_id (use list_permission_groups to find available IDs). To add content in other locales afterwards, use create_article_translation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Article body as HTML (this becomes the source-locale content). | |
| draft | No | When true (default), the article is created unpublished; set false to publish immediately. | |
| title | Yes | Title of the new article, in its source locale. | |
| locale | No | Source locale for the article, e.g. "en-us" or "fr". Defaults to the Help Center's default locale; becomes the article's source_locale. | |
| promoted | No | When true, marks the article as promoted (featured) in its section. Defaults to false. | |
| author_id | No | Author user ID. Defaults to the authenticated user. | |
| section_id | Yes | Section that will contain the article (numeric id from list_sections). | |
| label_names | No | Label names for search ranking (use list_labels to see existing labels) | |
| content_tag_ids | No | Content tag IDs (use list_content_tags to find them) | |
| user_segment_id | No | User segment ID for visibility (use list_user_segments to find it; if that is forbidden because the token is not a Guide admin, reuse the user_segment_id of an existing article from get_article). Defaults to everyone. | |
| permission_group_id | Yes | Permission group ID (use list_permission_groups to find it; if that is forbidden because the token is not a Guide admin, reuse the permission_group_id of an existing article from get_article). |