Create a collection
Understanding how to use FeatureOS API to build custom integrations.
Introduction
The FeatureOS create collection API allows you to create a new collection in your knowledge base.
POST
https://api.featureos.app/api/v3/collections
curl -X POST 'https://api.featureos.app/api/v3/collections' \
-H 'API-KEY: YOUR_API_KEY' \
-H 'Content-Type: application/json'Headers
| Parameter | Default | Description |
|---|---|---|
| API-KEY | - | Generate from organization settings on the admin dashboard. |
| Authorization | - | Generate a unique JWT token specific to a user. |
Body Parameters
| Parameter | Required | Format | Description |
|---|---|---|---|
| name | true | String | The name of the collection. |
| description | false | Text | A description of the collection. |
| privacy | false | String | The collection privacy: public or private. Defaults to public. |
| parent_id | false | Integer | The ID of a parent collection to nest under. |
| icon | false | String | URL to a custom icon for the collection. |