Skip to main content
POST
Create document from URL

Authorizations

x-api-key
string
header
required

Send your Callin API key in the x-api-key header.

Body

application/json

Add a knowledge document by pointing at a public web page. The agent can use this content during calls.

url
string
required

URL to a page of documentation that the agent will have access to in order to interact with users.

name
string
required

A custom, human-readable name for the document.

Response

Document created

New URL-based document added to the knowledge base.

success
boolean
Example:

true

data
object

URL-sourced document. details holds only url; file fields live only on file documents.