Create a collection
Example Request & Response (Multilingual Help Center)
$ curl https://api.intercom.io/help_center/collections \\\n-X POST \\\n-H 'Authorization:Bearer <Your access token>' \\\n-H 'Accept:application/json'\n-H 'Content-Type: application/json' -d\n\n{\n \"name\": \"Collection 1\",\n \"description\": \"English description\",\n \"translated_content\": {\n \"es\": {\n \"name\": \"Colección 1\",\n \"description\": \"Spanish description\"\n }\n }\n}
You can create a new collection by making a POST request to https://api.intercom.io/help_center/collections
.
Request Body Parameters
Key | Type | Required? | Description |
---|---|---|---|
name | String | Yes | The name of the collection. For multilingual collections, this will be the name of the default language's content. |
description | String | No | The description of the collection. For multilingual collections, this will be the description of the default language's content. |
translated_content | String | No | A Group Translated Content Object whereby you can specify multiple multilingual collections to be created. |
Response
This will return a Collection Model of the collection you just created.