Skip to main content
POST
/
api
/
v1
/
knowledge-items
/
me
Create My Knowledge Item
curl --request POST \
  --url http://localhost:8000/api/v1/knowledge-items/me \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "text": "<string>",
  "company_id": 123
}
'
{
  "text": "<string>",
  "id": 123,
  "company": {
    "id": 123,
    "name": "<string>"
  },
  "date_added": "2023-11-07T05:31:56Z",
  "date_updated": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

The schema for creating a knowledge item.

text
string
required
company_id
integer
required

Response

Successful Response

The schema for a knowledge item.

text
string
required
id
integer
required
company
The company to which the knowledge item belongs · object
required

The schema for a Cattix company.

date_added
string<date-time>
required
date_updated
string<date-time>
required