Add a new article
POST
/api/v1/accounts/{account_id}/portals/{portal_id}/articles
Help Center
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/accounts//portals//articles' \
--header 'Content-Type: application/json; charset=utf-8' \
--data-raw '{
"content": "string",
"meta": {
"tags": [
"article_name"
],
"title": "article title",
"description": "article description"
},
"position": 0,
"status": [
"draft",
"published",
"archived"
],
"title": "string",
"slug": "string",
"views": 0,
"portal_id": 0,
"account_id": 0,
"author_id": 0,
"category_id": 0,
"folder_id": 0,
"associated_article_id": 0
}'
Response Response Example
200 - Example 1
{
"id": 0,
"content": "string",
"meta": {},
"position": 0,
"status": "draft",
"title": "string",
"slug": "string",
"views": 0,
"portal_id": 0,
"account_id": 0,
"author_id": 0,
"category_id": 0,
"folder_id": 0,
"associated_article_id": 0
}
Request
Path Params
account_id
stringÂ
required
portal_id
stringÂ
required
Body Params application/json; charset=utf-8