Add a Q&A pair
Add a question and the answer the bot should give.
POST
/api/v1/knowledge/qaScope
bot:writeEach question can only be added once, ignoring case: a repeat is a 409. The bot uses the pair for every visitor, so leave out anything about one person.
Body
Send a JSON object.
Prop
Type
Example request
curl -X POST "https://api.pedibee.com/api/v1/knowledge/qa" \
-H "Authorization: Bearer $PEDIBEE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"question": "Do you ship to Canada?",
"answer": "Yes, in about nine days."
}'