RinghouseAPI reference
Get started

Knowledge

Create a knowledge source

Write a text source into the library. A receptionist answers from it once it is attached.

POST/v1/knowledge-sources

Needs the knowledge:write scope.

Body parameters

contentstringrequired
What a receptionist should know, in plain text.
descriptionstring
When this source applies, in a sentence.
namestringrequired

Returns

The source, as saved. A failed call answers with an error instead.

idstring
contentstringnullable
A text source's words, as the receptionist reads them. Left out of a list, and of a file source.
createdAtstring
descriptionstring
fileNamestringnullable
A file source's file, by name.
namestring
typeKnowledgeSourceType
text | file.
updatedAtstring
curl -X POST https://api.ringhouse.ai/v1/knowledge-sources \
  -H "Authorization: Bearer rh_live_xxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "<string>",
    "description": "<string>",
    "name": "<string>"
  }'
{
  "id": "8c1d4e7a-5b2f-4a90-9e1c-3f7d2b6a1c08",
  "content": "…",
  "createdAt": "2026-09-25T14:02:11Z",
  "description": "…",
  "fileName": "…",
  "name": "Missed calls → Slack",
  "type": "file",
  "updatedAt": "2026-09-25T14:02:11Z"
}
Was this page helpful?