{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"You can create a new collection by making a POST request to `https://api.intercom.io/help_center/collections`.\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_collection_request","examples":[{"name":"Thanks for everything"}]}},"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_collection_request":{"description":"You can create a collection","type":"object","title":"Create Collection Request Payload","properties":{"name":{"type":"string","description":"The name of the collection. For multilingual collections, this will be the name of the default language's content. Required unless a name is provided in `translated_content` under the workspace's default Help Center locale.","examples":["collection 51"]},"description":{"type":"string","description":"The description of the collection. For multilingual collections, this will be the description of the default language's content.","examples":["English description"]},"icon":{"type":"string","description":"The icon of the collection, for example `book-bookmark`. Defaults to `book-bookmark`.","examples":["book-bookmark"]},"translated_content":{"$ref":"#/definitions/group_translated_content"},"parent_id":{"type":["string","null"],"description":"The id of the parent collection. If `null` then it will be created as the first level collection.","examples":["6871118"]},"help_center_id":{"type":["integer","null"],"description":"The id of the help center where the collection will be created. If `null` then it will be created in the default help center.","examples":["123"]}}},"group_translated_content":{"title":"Group Translated Content","type":["object","null"],"description":"The Translated Content of an Group. The keys are the locale codes and the values are the translated content of the Group.","properties":{"type":{"type":["string","null"],"description":"The type of object - group_translated_content.","enum":[null,"group_translated_content"],"examples":["group_translated_content"]},"ar":{"$ref":"#/definitions/group_content"},"bg":{"$ref":"#/definitions/group_content"},"bs":{"$ref":"#/definitions/group_content"},"ca":{"$ref":"#/definitions/group_content"},"cs":{"$ref":"#/definitions/group_content"},"da":{"$ref":"#/definitions/group_content"},"de":{"$ref":"#/definitions/group_content"},"el":{"$ref":"#/definitions/group_content"},"en":{"$ref":"#/definitions/group_content"},"es":{"$ref":"#/definitions/group_content"},"et":{"$ref":"#/definitions/group_content"},"fi":{"$ref":"#/definitions/group_content"},"fr":{"$ref":"#/definitions/group_content"},"he":{"$ref":"#/definitions/group_content"},"hr":{"$ref":"#/definitions/group_content"},"hu":{"$ref":"#/definitions/group_content"},"id":{"$ref":"#/definitions/group_content"},"it":{"$ref":"#/definitions/group_content"},"ja":{"$ref":"#/definitions/group_content"},"ko":{"$ref":"#/definitions/group_content"},"lt":{"$ref":"#/definitions/group_content"},"lv":{"$ref":"#/definitions/group_content"},"mn":{"$ref":"#/definitions/group_content"},"nb":{"$ref":"#/definitions/group_content"},"nl":{"$ref":"#/definitions/group_content"},"pl":{"$ref":"#/definitions/group_content"},"pt":{"$ref":"#/definitions/group_content"},"ro":{"$ref":"#/definitions/group_content"},"ru":{"$ref":"#/definitions/group_content"},"sl":{"$ref":"#/definitions/group_content"},"sr":{"$ref":"#/definitions/group_content"},"sv":{"$ref":"#/definitions/group_content"},"tr":{"$ref":"#/definitions/group_content"},"vi":{"$ref":"#/definitions/group_content"},"pt-BR":{"$ref":"#/definitions/group_content"},"zh-CN":{"$ref":"#/definitions/group_content"},"zh-TW":{"$ref":"#/definitions/group_content"}}},"group_content":{"title":"Group Content","type":["object","null"],"description":"The Content of a Group.","properties":{"type":{"type":["string","null"],"description":"The type of object - `group_content` .","enum":[null,"group_content"],"examples":["group_content"]},"name":{"type":"string","description":"The name of the collection or section.","examples":["Collection name"]},"description":{"type":"string","description":"The description of the collection. Only available for collections.","examples":[" Collection description"]}}}}},"name":"Create a collection","id":"intercom.createcollection","example":{},"maxRequests":1,"summary":false}}