Skip to main content
POST
/
smart-faq
Create a new FAQ
curl --request POST \
  --url https://api.closebot.com/smart-faq \
  --header 'Content-Type: application/json' \
  --header 'X-CB-KEY: <api-key>' \
  --data '
{
  "sourceId": "<string>",
  "question": "<string>",
  "answer": "<string>"
}
'

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Body

The create FAQ request.

sourceId
string | null

The source ID of the FAQ

question
string | null

The question of the FAQ

answer
string | null

The answer of the FAQ

Response

201

Created