AgentBots
Inbox API
Conversations API
Contact Labels
CSAT Survey Page
Account AgentBots
Agents
Canned Responses
Canned Response
Custom Attributes
Contacts
Automation Rule
Help Center
Conversations
Conversation Assignment
Conversation Labels
Inboxes
Integrations
Profile
Teams
Custom Filters
Help Center
Add a new article
Help Center
Add a new article
Add a new article to portal
POST
/
api
/
v1
/
accounts
/
{account_id}
/
portals
/
{portal_id}
/
articles
curl --request POST \
--url https://app.chatwoot.com/api/v1/accounts/{account_id}/portals/{portal_id}/articles \
--header 'Content-Type: application/json' \
--header 'api_access_token: <api-key>' \
--data '{
"content": "<string>",
"meta": {
"tags": [
"article_name"
],
"title": "article title",
"description": "article description"
},
"position": 123,
"status": [
"draft",
"published",
"archived"
],
"title": "<string>",
"slug": "<string>",
"views": 123,
"portal_id": 123,
"account_id": 123,
"author_id": 123,
"category_id": 123,
"folder_id": 123,
"associated_article_id": 123
}'
{
"id": 123,
"content": "<string>",
"meta": {},
"position": 123,
"title": "<string>",
"slug": "<string>",
"views": 123,
"portal_id": 123,
"account_id": 123,
"author_id": 123,
"category_id": 123,
"folder_id": 123,
"associated_article_id": 123
}
Authorizations
This token can be obtained by visiting the profile page or via rails console. Provides access to endpoints based on the user permissions levels. This token can be saved by an external system when user is created via API, to perform activities on behalf of the user.
Path Parameters
The numeric ID of the account
The numeric ID of the portal
Body
application/json
Response
200
application/json
Success
The response is of type object
.
curl --request POST \
--url https://app.chatwoot.com/api/v1/accounts/{account_id}/portals/{portal_id}/articles \
--header 'Content-Type: application/json' \
--header 'api_access_token: <api-key>' \
--data '{
"content": "<string>",
"meta": {
"tags": [
"article_name"
],
"title": "article title",
"description": "article description"
},
"position": 123,
"status": [
"draft",
"published",
"archived"
],
"title": "<string>",
"slug": "<string>",
"views": 123,
"portal_id": 123,
"account_id": 123,
"author_id": 123,
"category_id": 123,
"folder_id": 123,
"associated_article_id": 123
}'
{
"id": 123,
"content": "<string>",
"meta": {},
"position": 123,
"title": "<string>",
"slug": "<string>",
"views": 123,
"portal_id": 123,
"account_id": 123,
"author_id": 123,
"category_id": 123,
"folder_id": 123,
"associated_article_id": 123
}