Knowledge Bases

Create Document

Upload a new document to a Famulor knowledge base via API. Add PDFs, text, FAQs or product data that AI voice assistants can reference during calls.

Docs

post/user/knowledgebases/{knowledgebaseId}/documents

Request

  • Base URL: https://app.famulor.de/api
  • URL: https://app.famulor.de/api/user/knowledgebases/{knowledgebaseId}/documents
  • Auth: HTTP bearer

Path parameters

knowledgebaseIdinteger required

The unique identifier of the knowledge base

Request body

namestring required

The name of the document (max. 255 characters)

descriptionstring

Optional description of the document (max. 255 characters)

typestring required

Document type: website, pdf, txt or docx

urlstring

The main URL to scrape. Required if links is not provided.

relative_links_limitinteger

Maximum number of relative links to follow when scraping (1-50)

filestring binary required

The file to upload (max. 20MB). Use multipart/form-data encoding.

Response

Created

messagestring

Success message

Changes

No recorded changes to this operation across all 1 revision of this API.