REST endpoints
Add a Q&A answer
Add an exact answer the agent prefers over everything else.
POST
/api/v1/agents/{id}/qaSend your API key in the Authorization: Bearer af_live_… header. See Authentication.
Body
questionstringrequired2–1,000 characters. Write it the way customers ask; similar wording and other languages still match.
answerstringrequired1–8,000 characters.
Shell
curl https://anytimereply.com/api/v1/agents/AGENT_ID/qa \
-H "Authorization: Bearer af_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"question": "How much is delivery inside Dhaka?", "answer": "Delivery inside Dhaka is ৳70 and takes 1 day."}'200 OK
{
"data": {
"id": "q1…",
"question": "How much is delivery inside Dhaka?",
"answer": "Delivery inside Dhaka is ৳70 and takes 1 day.",
"created_at": "2026-10-19T09:25:00.000Z"
}
}The answer is used immediately and appears under Build → Q&A. See Q&A.
Was this page helpful?
Still stuck? Contact us