curl --request POST \
--url https://api.getfernand.com/knowledge/collections \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"title": "Getting Started",
"slug": "getting-started"
}
'{
"id": 123,
"parent_id": 123,
"title": "<string>",
"slug": "<string>",
"description": "<string>",
"seo_title": "<string>",
"seo_description": "<string>",
"icon": "<string>",
"created": "2023-11-07T05:31:56Z",
"last_updated": "2023-11-07T05:31:56Z",
"sort": 123
}curl --request POST \
--url https://api.getfernand.com/knowledge/collections \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"title": "Getting Started",
"slug": "getting-started"
}
'{
"id": 123,
"parent_id": 123,
"title": "<string>",
"slug": "<string>",
"description": "<string>",
"seo_title": "<string>",
"seo_description": "<string>",
"icon": "<string>",
"created": "2023-11-07T05:31:56Z",
"last_updated": "2023-11-07T05:31:56Z",
"sort": 123
}Display title of the collection (required).
250"Getting Started"
URL-safe slug for the collection (required, lowercase alphanumeric with dashes/underscores).
250"getting-started"
Emoji icon identifier for the collection (optional).
25"🚀"
Description of the collection content (optional).
1000ID of the parent collection for nesting (optional, null for root-level).
SEO-optimized title for search engines (optional, defaults to title).
250SEO-optimized description for search engines (optional).
1250Collection created successfully.
Unique identifier for the collection.
ID of the parent collection.
Title of the collection.
URL-safe slug.
Collection description.
SEO-optimized title.
SEO-optimized description.
Emoji icon identifier.
Creation timestamp.
Last update timestamp.
Sort order within parent.
Was this page helpful?