Skip to main content
PUT
/
kb
/
v1
/
knowledge-bases
/
{id}
/
faq-template
Update questions and answers in FAQ template for a knowledge base
curl --request PUT \
  --url https://api-prod.interactly.ai/kb/v1/knowledge-bases/{id}/faq-template \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "faq": [
    {
      "id": "6789abcdef01234567890abc",
      "question": "What is the address of your clinic?",
      "answer": "12345 Elm Street, Springfield, CA 12345, USA",
      "category": "General Enquiry",
      "updatable": true
    }
  ]
}
'
{
  "faq": [
    {
      "id": "6789abcdef01234567890abc",
      "question": "What is the address of your clinic?",
      "answer": "12345 Elm Street, Springfield, CA 12345, USA",
      "category": "General Enquiry",
      "updatable": true
    }
  ]
}

Authorizations

Authorization
string
header
required

Retrieve your API Key from Dashboard API Keys Section.

Path Parameters

id
string
required

The unique ID of the knowledge base.

Body

application/json
faq
object[]

Response

200 - application/json

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

faq
object[]