curl --request POST \
--url https://api.getfernand.com/knowledge/articles \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"title": "How to get started",
"slug": "how-to-get-started",
"collections": [
1,
2
],
"published": true
}
'{
"id": 123,
"title": "How to get started",
"seo_title": "Getting Started Guide - Complete Tutorial",
"slug": "how-to-get-started",
"previous_url": "<string>",
"description": "Learn how to set up your account and start using our platform in minutes.",
"content": "<p>Welcome to our platform! This guide will help you get started...</p>",
"created": "2023-11-07T05:31:56Z",
"last_updated": "2023-11-07T05:31:56Z",
"published": true,
"get_collections": [
{
"collection_id": 1,
"sort": 1
},
{
"collection_id": 3,
"sort": 2
}
],
"visibility": "public",
"get_url": "https://help.piedpiper.com/getting-started/introduction"
}curl --request POST \
--url https://api.getfernand.com/knowledge/articles \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"title": "How to get started",
"slug": "how-to-get-started",
"collections": [
1,
2
],
"published": true
}
'{
"id": 123,
"title": "How to get started",
"seo_title": "Getting Started Guide - Complete Tutorial",
"slug": "how-to-get-started",
"previous_url": "<string>",
"description": "Learn how to set up your account and start using our platform in minutes.",
"content": "<p>Welcome to our platform! This guide will help you get started...</p>",
"created": "2023-11-07T05:31:56Z",
"last_updated": "2023-11-07T05:31:56Z",
"published": true,
"get_collections": [
{
"collection_id": 1,
"sort": 1
},
{
"collection_id": 3,
"sort": 2
}
],
"visibility": "public",
"get_url": "https://help.piedpiper.com/getting-started/introduction"
}Display title of the article (required).
250"How to get started"
URL-safe slug for the article (required, lowercase alphanumeric with dashes/underscores).
250"how-to-get-started"
Array of collection IDs where the article should be placed (required, at least one, can include null for root).
[1, 2]Whether the article should be published immediately (required).
SEO-optimized title for search engines (optional, defaults to title).
250Previous URL if migrating from another help system (optional).
250Brief description of the article for SEO and previews (optional).
250HTML content of the article (optional, max 10MB). Images can be base64-encoded or URLs.
16000000Template name to load predefined content (optional).
250Visibility setting - public (visible to all), chat (only in chat widget), chat_auth (only in chat for authenticated users).
public, chat, chat_auth 10Article created successfully.
Unique identifier for the article.
Display title of the article.
250"How to get started"
SEO-optimized title for search engines and meta tags.
250"Getting Started Guide - Complete Tutorial"
URL-safe slug used in the article's URL path.
250"how-to-get-started"
Previous URL if the article was migrated from another help system, used for redirect tracking.
250Brief description used for SEO meta tags and article previews.
250"Learn how to set up your account and start using our platform in minutes."
Full HTML content of the article including formatted text, images, code blocks, and embedded media.
"<p>Welcome to our platform! This guide will help you get started...</p>"
Timestamp when the article was originally created.
Timestamp when the article was last modified.
Whether the article is published and visible to users (unpublished articles are drafts).
List of collections this article belongs to with their sort positions.
Show child attributes
[
{ "collection_id": 1, "sort": 1 },
{ "collection_id": 3, "sort": 2 }
]Visibility setting - public (visible to all), chat (only in chat widget), chat_auth (only in chat for authenticated users).
public, chat, chat_auth 10"public"
Full computed URL path to access the article, including collection hierarchy.
"https://help.piedpiper.com/getting-started/introduction"
Was this page helpful?