cURL
curl --request POST \ --url https://api.chatling.ai/v2/chatbots/{chatbotId}/knowledge-base/data-sources/faqs \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "faqs": [ { "q": "<string>", "a": "<string>" } ] }'
{ "status": "success", "data": { "faqs_added": 45 } }
Add new FAQ data sources to the knowledge base.
Show properties
success
error