AI Receptionist

Add website knowledge

Changed on

Adds a website to the receptionist's knowledge. Allo crawls the site from this URL in the background and returns the entry right away; the receptionist can answer from it once indexing has finished. A crawl failure is not reported back. If another line of the team already added the URL, the existing website is linked to this line instead of crawled again.

post/v2/api/numbers/{number}/agent/knowledge/websites

Request

  • Base URL
    https://api.withallo.com
  • URL
    https://api.withallo.com/v2/api/numbers/{number}/agent/knowledge/websites
  • Auth
    API key in header Authorization

Path parameters

numberstring required
Example:+14155551234

Allo phone number in E.164 format

Request body

urlstring required

The URL of a publicly reachable site. A URL without a scheme is stored as https://.

Example request

{
  "url": "https://acme.test/pricing"
}

Response

The entry that was created

Example response

{
  "data": {
    "id": "ksrc-abc123",
    "url": "https://acme.test/pricing"
  }
}

Changes