knowledge-base

Create a new FAQ entry in the knowledge base

post/knowledge-base/faq/create

Request

  • Base URL
    https://api.periskope.app/v1
  • URL
    https://api.periskope.app/v1/knowledge-base/faq/create
  • Auth
    HTTP bearer

Request body

questionstring required

The FAQ question

answerstring required

The FAQ answer

is_activeboolean

Whether the FAQ is active (default: false)

Example request

{
  "question": "How do I connect WhatsApp?",
  "answer": "You can connect WhatsApp by scanning the QR code in Settings.",
  "is_active": true
}

Response

201 Created

context_idstring

The unique identifier for this FAQ

typestring

Type of entry (faq)

questionstring

The FAQ question

answerstring

The FAQ answer

created_atstring

Creation timestamp

Changes