Skip to main content
POST
/
sources
/
{sourceId}
/
questions
Create questions and answers to feed a knowledge base source
curl --request POST \
  --url https://messenger-public-api.cogfy.com/sources/{sourceId}/questions \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '{
  "questions": [
    {
      "question": "<string>",
      "answer": "<string>"
    }
  ]
}'

Authorizations

api-key
string
header
required

Path Parameters

sourceId
string<uuid>
required

Body

application/json
questions
object[]

Response

201