{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"You can create a new internal article by making a POST request to `https://api.intercom.io/internal_articles`.\n\nRequires the `read_write_articles_scope` OAuth scope.\n","properties":{"headers":{"type":"object","properties":{"Intercom-Version":{"$ref":"#/definitions/intercom_version","enum":["2.17"]}},"required":[],"additionalProperties":false},"body":{"$ref":"#/definitions/create_internal_article_request","examples":[{"title":"Thanks for everything","body":"Body of the Article","owner_id":991266252,"author_id":991266252,"locale":"en"}]}},"required":[],"additionalProperties":false,"definitions":{"intercom_version":{"description":"Intercom API version.</br>If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.","type":"string","enum":["1.0","1.1","1.2","1.3","1.4","2.0","2.1","2.2","2.3","2.4","2.5","2.6","2.7","2.8","2.9","2.10","2.11","2.12","2.13","2.14","2.15","2.16","2.17"],"examples":["2.17"]},"create_internal_article_request":{"description":"You can create an Internal Article","type":["object","null"],"title":"Create Internal Article Request Payload","properties":{"title":{"type":"string","description":"The title of the article.","examples":["Thanks for everything"]},"body":{"type":"string","description":"The content of the article in HTML. Mutually exclusive with `body_markdown`.","examples":["<p>This is the body in html</p>"]},"body_markdown":{"type":"string","description":"The content of the article in markdown. An alternative to `body` — you can provide content as markdown instead of HTML. Mutually exclusive with `body` and `json_blocks`.","examples":["# Internal Guide\n\nSome instructions.\n"]},"json_blocks":{"type":"array","description":"The content of the article as a list of content blocks. Used only when `body` is not provided. Cannot be combined with `body_markdown`.","items":{"type":"object"}},"locale":{"type":"string","description":"The locale of the article. Defaults to `en`.","examples":["en"]},"author_id":{"type":"integer","description":"The id of the author of the article.","examples":[1295]},"owner_id":{"type":"integer","description":"The id of the owner of the article.","examples":[1295]},"folder_id":{"type":["integer","null"],"description":"The ID of the folder to place this article in. Pass `null` to leave it without a folder.","examples":[6]},"audience_ids":{"type":["array","null"],"description":"The list of audience IDs to target this internal article to for Fin AI Agent. Pass an empty array or omit the field for no audience targeting. Unknown audience IDs return a `404` error with no partial commit.","items":{"type":"integer"},"examples":[[1,2]]},"ai_chatbot_availability":{"type":"boolean","description":"Whether the internal article should be available for AI Chatbot (Fin). Defaults to false.","default":false,"examples":[true]},"ai_copilot_availability":{"type":"boolean","description":"Whether the internal article should be available for AI Copilot. Defaults to false.","default":false,"examples":[true]},"ai_sales_agent_availability":{"type":"boolean","description":"Whether the internal article should be available for AI Sales Agent. Defaults to false.","default":false,"examples":[true]}},"required":["title","owner_id","author_id"]}}},"name":"Create an internal article","id":"intercom.createinternalarticle","example":{},"maxRequests":1,"summary":false}}