Vocatech

By area

Knowledge

Written beside the API’s code, and read from it every hour.

Plain text
MethodPathWhat it does
GET/v1/knowledge/answer?q=One question about Vocatech's service, answered
POST/v1/knowledge/answerThe same, with {"q": "..."} or {"question": "..."}

The answer comes from Vocatech's published facts only, in one to three short sentences, the way a person at our front desk would say it. Nothing about your account is in it. When the knowledge base does not cover the question, found is false and nothing is guessed.

curl -G https://api.vocatech.com/v1/knowledge/answer \
  -H "Authorization: Bearer $VOCATECH_API_KEY" \
  --data-urlencode "q=Is there a contract?"
Response200 OK
{
  "question": "Is there a contract?",
  "found": true,
  "answer": "No. Service is month-to-month, and there is no contract to sign.",
  "section": "Contracts and billing",
  "note": "Answer the caller from this in your own words; state only what it says."
}

q is 3 to 500 characters. source, optional, names the system that asks, for our log. Each key may ask 30 questions a minute and 2,000 a day.

Knowledge in the API reference