v2

latestOpenAPI 3.1.02026-07-313981108.2 KB
Knowledge Bases

Update questions and answers in FAQ template for a knowledge base

Update a list of QnA entries in an FAQ by their unique ID

put/kb/v1/knowledge-bases/{id}/faq-template

Path parameters

idstring required

The unique ID of the knowledge base.

Request body

Example request

{
  "faq": [
    {
      "id": "6789abcdef01234567890abc",
      "question": "What is the address of your clinic?",
      "answer": "12345 Elm Street, Springfield, CA 12345, USA",
      "category": "General Enquiry"
    }
  ]
}

Response

FAQ data exists for the queried knowledge base and is fetched successfully

Example response

{
  "faq": [
    {
      "id": "6789abcdef01234567890abc",
      "question": "What is the address of your clinic?",
      "answer": "12345 Elm Street, Springfield, CA 12345, USA",
      "category": "General Enquiry"
    }
  ]
}