πŸ’‘Knowledge base

Best Practices

Update Existing Knowledge Base Article

  1. Search and Locate

    • Find the target article by using list with search by title or keywords.

    • Ensure only a single record is matched, obtain the id information.

  2. Conditional Update

    • Call the update API (PUT / PATCH) and include the next version identification condition.

GET https://{API_DOMAIN}/api/v1/kb
curl -X GET
    -H "Content-Type: application/json"
    '{"search": "vip"}'
    https://{API_HOST}/api/v1/kb

URL Parameters

Name
Type
Required
Description
Example

page

integer

No

Page number (starting from 1)

page=2

search

string

No

Filter KB name/content by keyword

search=security

is_public

integer

No

Whether the article is public

is_public=1

Response

PROPERTY

TYPE

DESCRIPTION

data

Array of objects

Array of article data

meta

Object

Meta data for tabs

Retrieve Single Record

URL Parameters

PARAMETER

REQUIRED

DEFAULT

TYPE

DESCRIPTION

id

true

NULL

Number

Customer tag system ID

Response

PROPERTY

TYPE

DESCRIPTION

data

Object

Knowledge base article data

Create

Form Data

Name
Type
Required
Description
Example

subject

string

Yes

Article title

"How to Configure Product"

content

string

Yes

Article content

"About the product...."

is_public

boolean

No

Whether the article is public

false

Update

Last updated