{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"You can create a new content snippet.\n\n`title` is listed as required, but a missing, `null` or empty `title` is accepted and the snippet is created with a blank title. When `json_blocks` is omitted or `null` and `body_markdown` is omitted or blank, the snippet is created with a single empty paragraph.\n\nRequires the `read_write_content_snippets` OAuth scope.\n","properties":{"headers":{"type":"object","properties":{"Intercom-Version":{"$ref":"#/definitions/intercom_version","enum":["2.17"]}},"required":[],"additionalProperties":false},"body":{"$ref":"#/definitions/content_snippet_create_request","examples":[{"title":"How to reset your password","json_blocks":[{"type":"paragraph","text":"Navigate to Settings > Security > Reset password."}],"locale":"en","audience_ids":[1,2]}]}},"required":["body"],"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"]},"content_snippet_create_request":{"title":"Create Content Snippet Request","type":"object","description":"The request payload for creating a content snippet. You can provide either `json_blocks` or `body_markdown` for the snippet content — they are mutually exclusive. When `json_blocks` is omitted or `null` and `body_markdown` is omitted or blank, the snippet is created with a single empty paragraph.","required":["title"],"properties":{"title":{"type":"string","description":"The title of the content snippet. The API accepts a missing, `null` or empty title.","maxLength":255,"examples":["How to reset your password"]},"json_blocks":{"type":"array","description":"The content blocks that make up the body of the snippet. Mutually exclusive with `body_markdown`.","items":{"type":"object"},"examples":[[{"type":"paragraph","text":"Navigate to Settings > Security > Reset password."}]]},"body_markdown":{"type":"string","description":"The content of the snippet in markdown. An alternative to `json_blocks` — you can provide content as markdown instead of structured blocks. Mutually exclusive with `json_blocks`.","examples":["# Hello\n\nSome content.\n"]},"locale":{"type":"string","description":"The locale of the content snippet. Defaults to `en`.","default":"en","examples":["en"]},"audience_ids":{"type":["array","null"],"description":"The list of audience IDs to target this content snippet 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 content snippet should be available for AI Chatbot (Fin). Defaults to true.","default":true,"examples":[true]},"ai_copilot_availability":{"type":"boolean","description":"Whether the content snippet should be available for AI Copilot. Defaults to true.","default":true,"examples":[true]},"ai_sales_agent_availability":{"type":"boolean","description":"Whether the content snippet should be available for AI Sales Agent. Defaults to true.","default":true,"examples":[true]}}}}},"name":"Create a content snippet","id":"intercom.createcontentsnippet","example":{"body":{"title":"How to reset your password"}},"maxRequests":1,"summary":false}}