Knowledge Base items
Create
Create a new knowledge base item
POST https://api.deskero.com/knowledgeItem/insert
Headers
Header | Value |
---|---|
Authorization | Bearer {{bearer}} |
Content-Type | application/json |
clientId | {{clientId}} |
Example request
$ curl https://api.deskero.com/knowledgeItem/insert \
-v \
-H "Content-item: application/json" \
-H "Authorization: Bearer 58cfg61g-1585-5c72-g35f-7fe76893ed2f" \
-H "clientId: 51f01687e4b094c81d7b8bcdellef" \
-X POST \
-d '{
"title":"How do I log in?",
"text":"To sign in all you have to do is inserting your email and your password, and that’s it!",
"area":{
"id":"51cd8af3e4b0e90b324ab778"
}
}'
Example response
Created knowledge base item id
{
"id": "51b9d6b8e4b0d7cf068b9749"
}