Skip to main content
POST
Add a new article

Authorizations

api_access_token
string
header
required

Token de usuario. Envía el valor en el header api_access_token. Lo obtienes en el perfil (GET /api/v1/profile) o al regenerarlo.

Path Parameters

account_id
integer
required

The numeric ID of the account

id
string
required

The slug identifier of the portal

Body

application/json
title
string

The title of the article

Example:

"Article Title"

slug
string

The slug of the article

Example:

"article-title"

position
integer

article position in category

Example:

1

content
string

The text content.

Example:

"This is the content of the article"

description
string

The description of the article

Example:

"This is the description of the article"

category_id
integer

The category id of the article

Example:

1

author_id
integer

The author agent id of the article

Example:

1

associated_article_id
integer

To associate similar articles to each other, e.g to provide the link for the reference.

Example:

2

status
integer

The status of the article. 0 for draft, 1 for published, 2 for archived

Example:

1

locale
string

The locale of the article

Example:

"en"

meta
object

Use for search

Example:

Response

Success

id
integer
content
string

The text content.

meta
object
position
integer
status
enum<integer>
Available options:
draft,
published,
archived
title
string
slug
string
views
integer
portal_id
integer
account_id
integer
author_id
integer
category_id
integer
folder_id
integer
associated_article_id
integer

To associate similar articles to each other, e.g to provide the link for the reference.