{ "message": "Document created successfully. Processing will begin shortly.", "data": { "id": 2, "name": "Product Handbook", "description": "User manual for our product", "type": "pdf", "type_label": "PDF", "status": "processing", "status_label": "Processing", "created_at": "2025-01-08T10:35:00.000000Z" }}
{ "error": "Knowledgebase not found."}
{ "message": "A file is required for this document type.", "errors": { "file": [ "A file is required for this document type." ] }}
{ "error": "Failed to create document. Please try again."}
Bases de conocimiento
Crear documento
Sube un nuevo documento a una base de conocimiento de Famulor mediante la API. Añade PDFs, texto, preguntas frecuentes o datos de producto que los asistentes de voz de IA puedan consultar durante las llamadas.
{ "message": "Document created successfully. Processing will begin shortly.", "data": { "id": 2, "name": "Product Handbook", "description": "User manual for our product", "type": "pdf", "type_label": "PDF", "status": "processing", "status_label": "Processing", "created_at": "2025-01-08T10:35:00.000000Z" }}
{ "error": "Knowledgebase not found."}
{ "message": "A file is required for this document type.", "errors": { "file": [ "A file is required for this document type." ] }}
{ "error": "Failed to create document. Please try again."}
API de Famulor 1.0 (legado). Esta página se aplica únicamente a Famulor 1.0 (app.famulor.de) y se conserva por compatibilidad. Para la plataforma actual, usa la referencia de la API de Famulor 2.0.
Este endpoint crea un nuevo documento en una base de conocimiento. Los documentos se procesan de forma asíncrona: el endpoint responde de inmediato mientras el procesamiento continúa en segundo plano.
Parámetros de ruta
integer
requerido
El identificador único de la base de conocimiento
Cuerpo de la solicitud
string
requerido
El nombre del documento (máx. 255 caracteres)
string
Descripción opcional del documento (máx. 255 caracteres)
string
requerido
Tipo de documento: website, pdf, txt o docx
Documentos de sitio web
string
La URL principal a rastrear. Obligatoria si no se proporciona links.
array
Array de URLs específicas a rastrear. Obligatorio si no se proporciona url.
Mostrar Propiedades de los enlaces
string
requerido
Una URL válida para incluir en el documento
integer
predeterminado:"10"
Número máximo de enlaces relativos a seguir durante el rastreo (1-50)
Documentos de archivo (PDF, TXT, DOCX)
file
requerido
El archivo a subir (máx. 20 MB). Usa la codificación multipart/form-data.
Campos de respuesta
string
Mensaje de éxito
object
El objeto del documento creado
Mostrar Propiedades de los datos
integer
El identificador único del documento
string
El nombre del documento
string
Descripción del documento
string
Tipo de documento
string
Etiqueta de tipo legible para humanos
string
Estado de procesamiento (inicialmente será processing)
string
Etiqueta de estado legible para humanos
string
Marca de tiempo ISO 8601 de creación
Tipos de documento
Tipo
Descripción
Entrada
website
Rastrea sitios web y extrae el contenido de texto
URL o lista de URLs
pdf
Extrae texto de archivos PDF
Carga de archivo PDF
txt
Contenido de texto sin formato
Carga de archivo TXT
docx
Extrae texto de documentos de Word
Carga de archivo DOCX
El procesamiento de documentos es asíncrono. Llama al endpoint Obtener documento para comprobar cuándo finaliza el procesamiento.
{ "message": "Document created successfully. Processing will begin shortly.", "data": { "id": 2, "name": "Product Handbook", "description": "User manual for our product", "type": "pdf", "type_label": "PDF", "status": "processing", "status_label": "Processing", "created_at": "2025-01-08T10:35:00.000000Z" }}
{ "error": "Knowledgebase not found."}
{ "message": "A file is required for this document type.", "errors": { "file": [ "A file is required for this document type." ] }}
{ "error": "Failed to create document. Please try again."}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Famulor","description":"Famulor documentation — build, deploy, and operate AI voice assistants.","colors":{"primary":"#1FD5FA","light":"#67E8FC","dark":"#0BA8C9"},"logo":{"light":"https://mintcdn.com/ouraicall/baoJp-MLrp4Nh8VX/logo/lockup-light.svg?fit=max\u0026auto=format\u0026n=baoJp-MLrp4Nh8VX\u0026q=85\u0026s=fd2b4cadd4821a549ba9fa5783ed619d","dark":"https://mintcdn.com/ouraicall/baoJp-MLrp4Nh8VX/logo/lockup-dark.svg?fit=max\u0026auto=format\u0026n=baoJp-MLrp4Nh8VX\u0026q=85\u0026s=8c5966ded7ffff8de6db3a09bd55f712"},"favicon":"https://mintcdn.com/ouraicall/2UgcT6Kzg4NlgPC2/favicon.svg?fit=max\u0026auto=format\u0026n=2UgcT6Kzg4NlgPC2\u0026q=85\u0026s=b7b1116d604f04ce5ebedef057e0580f","navbar":{"links":[{"href":"https://status.famulor.io","label":"Platform Status"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.famulor.io"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/Famulor"}},"seo":{"metatags":{"twitter:card":"summary_large_image"},"organization":{"name":"Famulor","logo":"https://docs.famulor.io/logo/lockup-light.svg"}},"integrations":{"clarity":{"projectId":"sop2kcwotx"},"ga4":{"measurementId":"G-WPTBT13HB0"}},"banner":{"content":"For AI agents: see the complete **[llms.txt](https://docs.famulor.io/llms.txt)** documentation index.","dismissible":true,"color":{"light":"#000000","dark":"#000000"}},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","href":""},{"language":"fr","href":"fr"},{"language":"es","href":"es"},{"language":"de","href":"de"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ouraicall","hasAudioNarration":false,"actualSubdomain":"ouraicall","customDomains":["docs.famulor.io"],"gitSource":{"type":"github","owner":"bekservice","repo":"famulor-multi-tenancy","deployBranch":"main","contentDirectory":"mintlify","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{},"buildId":"6b0820824bf8de67063479c1","clientVersion":"0.0.4336","searchFilterCounts":[{"language":"default","tag":"API Reference","count":521},{"language":"en","tag":"Documentation","count":160},{"language":"de","tag":"Dokumentation","count":160},{"language":"es","tag":"Documentación","count":160},{"language":"fr","tag":"Documentation","count":160},{"language":"en","tag":"API 1.0 (Legacy)","count":102},{"language":"de","tag":"API 1.0 (Legacy)","count":102},{"language":"es","tag":"API 1.0 (Legacy)","count":102},{"language":"fr","tag":"API 1.0 (Legacy)","count":102},{"language":"en","tag":"Automation","count":41},{"language":"en","tag":"Telephony","count":41},{"language":"de","tag":"Automatisierung","count":41},{"language":"de","tag":"Telefonie","count":41},{"language":"es","tag":"Automatización","count":41},{"language":"es","tag":"Telefonía","count":41},{"language":"fr","tag":"Automatisation","count":41},{"language":"fr","tag":"Téléphonie","count":41},{"language":"en","tag":"Assistants","count":39},{"language":"default","tag":"History","count":39},{"language":"de","tag":"Assistenten","count":39},{"language":"es","tag":"Asistentes","count":39},{"language":"fr","tag":"Assistants","count":39},{"language":"default","tag":"Famulor Loop","count":37},{"language":"en","tag":"API Reference","count":35},{"language":"default","tag":"Messaging","count":35},{"language":"default","tag":"Settings","count":33},{"language":"en","tag":"Channels","count":32},{"language":"de","tag":"API-Referenz","count":32},{"language":"de","tag":"Kanäle","count":32},{"language":"es","tag":"Canales","count":32},{"language":"fr","tag":"Canaux","count":32},{"language":"default","tag":"Knowledge Bases","count":31},{"language":"default","tag":"Automations","count":30},{"language":"es","tag":"Referencia de la API","count":27},{"language":"fr","tag":"Référence API","count":27},{"language":"default","tag":"Tools","count":26},{"language":"en","tag":"AI Assistants","count":24},{"language":"default","tag":"Assistants","count":24},{"language":"de","tag":"KI-Assistants","count":24},{"language":"es","tag":"Asistentes de IA","count":24},{"language":"fr","tag":"Assistants IA","count":24},{"language":"default","tag":"Integrations","count":20},{"language":"en","tag":"Shopify","count":16},{"language":"de","tag":"Shopify","count":16},{"language":"es","tag":"Shopify","count":16},{"language":"fr","tag":"Shopify","count":16},{"language":"en","tag":"Campaigns","count":12},{"language":"es","tag":"Campañas","count":12},{"language":"fr","tag":"Campagnes","count":12},{"language":"de","tag":"White Label","count":11}],"searchSettings":{"showContentSnippets":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":false},"customCss":[{"filePath":"legal-print.css","content":".legal-print-actions{display:flex;justify-content:flex-end;margin-block:0 1rem}.legal-print-button{display:inline-flex;align-items:center;gap:0.5rem;min-height:2.5rem;padding:0.45rem 0.8rem;border:1px solid #b8e6ee;border-radius:0.625rem;background:#effbfe;color:#126579;font-size:0.875rem;font-weight:600;line-height:1.25;cursor:pointer}.legal-print-button:hover{border-color:#8cd5e2;background:#def8fd}.legal-print-button:focus-visible{outline:2px solid #0ba8c9;outline-offset:2px}html.dark .legal-print-button{border-color:#285966;background:#16333c;color:#a8ebf8}html.dark .legal-print-button:hover{border-color:#397584;background:#1e4350}.legal-print-icon{display:inline-flex;align-items:center}.legal-print-letterhead,.legal-print-title{display:none}@media print{@page famulor-legal{size:A4;margin:16mm 18mm 17mm;@bottom-right{content:\"Famulor · \" counter(page) \" / \" counter(pages);color:#465560;font:8pt system-ui, sans-serif}}html[data-current-path*=\"/support/trust-center\"] :is(#navbar,#sidebar,#content-side-layout,#header,#pagination,#footer,.legal-print-actions){display:none!important}html[data-current-path*=\"/support/trust-center\"] :is(div:has(>#content-container),div:has(>#content-area),#content-container,#content-area,#content){display:block!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important}html[data-current-path*=\"/support/trust-center\"] body{page:famulor-legal;background:white!important}html[data-current-path*=\"/support/trust-center\"] #content{font-size:10.5pt;line-height:1.45}html[data-current-path*=\"/support/trust-center\"] :is(#content,#content *){color:#111!important}html[data-current-path*=\"/support/trust-center\"] .legal-print-letterhead{display:block;margin-bottom:6mm;padding-bottom:4mm;border-bottom:0.3mm solid #c9d4da;break-after:avoid}html[data-current-path*=\"/support/trust-center\"] .legal-print-letterhead img{display:block;width:38mm;height:auto;margin:0;print-color-adjust:exact}html[data-current-path*=\"/support/trust-center\"] .legal-print-title:not(:empty){display:block;margin-bottom:4mm;font-size:20pt;font-weight:700;line-height:1.2;break-after:avoid}html[data-current-path*=\"/support/trust-center\"] #content :is(h2,h3){break-after:avoid}html[data-current-path*=\"/support/trust-center\"] #content h2{margin:0 0 4mm;font-size:16pt;line-height:1.25}html[data-current-path*=\"/support/trust-center\"] #content h3{margin:4mm 0 2mm;font-size:11.5pt;line-height:1.3}html[data-current-path*=\"/support/trust-center\"] #content :is([data-as=\"p\"],li){orphans:3;widows:3}html[data-current-path$=\"/support/trust-center\"] #content div:has(>table){overflow:visible!important}html[data-current-path$=\"/support/trust-center\"] #content table{width:100%;font-size:9pt;line-height:1.35}html[data-current-path$=\"/support/trust-center\"] #content :is(th,td){padding:1.5mm 2mm;vertical-align:top;white-space:normal;overflow-wrap:anywhere}html[data-current-path$=\"/support/trust-center\"] #content tr{break-inside:avoid}}"}]}
{"page":{"pagePath":"es/api-v1/knowledgebases/create-document","slug":"/es/api-v1/knowledgebases/create-document","pageMetadata":{"title":"Crear documento","api":"POST https://app.famulor.de/api/user/knowledgebases/{knowledgebaseId}/documents","description":"Sube un nuevo documento a una base de conocimiento de Famulor mediante la API. Añade PDFs, texto, preguntas frecuentes o datos de producto que los asistentes de voz de IA puedan consultar durante las llamadas.","href":"/es/api-v1/knowledgebases/create-document"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Sube un nuevo documento a una base de conocimiento de Famulor mediante la API. Añade PDFs, texto, preguntas frecuentes o datos de producto que los asistentes de voz de IA puedan consultar durante las llamadas.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Expandable,Heading,Note,ParamField,ResponseField,Table,Warning}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`API de Famulor 1.0 (legado).`}),` Esta página se aplica únicamente a Famulor 1.0 (`,_jsx(_components.code,{children:`app.famulor.de`}),`) y se conserva por compatibilidad. Para la plataforma actual, usa la `,_jsx(_components.a,{href:`/es/api-reference/introduction`,children:`referencia de la API de Famulor 2.0`}),`.`]})}),`\n`,_jsx(_components.p,{children:`Este endpoint crea un nuevo documento en una base de conocimiento. Los documentos se procesan de forma asíncrona: el endpoint responde de inmediato mientras el procesamiento continúa en segundo plano.`}),`\n`,_jsx(Heading,{level:`3`,id:`parámetros-de-ruta`,children:`Parámetros de ruta`}),`\n`,_jsx(ParamField,{path:`knowledgebaseId`,type:`integer`,required:true,id:`param-knowledgebase-id`,children:_jsx(_components.p,{children:`El identificador único de la base de conocimiento`})}),`\n`,_jsx(Heading,{level:`3`,id:`cuerpo-de-la-solicitud`,children:`Cuerpo de la solicitud`}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`El nombre del documento (máx. 255 caracteres)`})}),`\n`,_jsx(ParamField,{body:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Descripción opcional del documento (máx. 255 caracteres)`})}),`\n`,_jsx(ParamField,{body:`type`,type:`string`,required:true,id:`param-type`,children:_jsxs(_components.p,{children:[`Tipo de documento: `,_jsx(_components.code,{children:`website`}),`, `,_jsx(_components.code,{children:`pdf`}),`, `,_jsx(_components.code,{children:`txt`}),` o `,_jsx(_components.code,{children:`docx`})]})}),`\n`,_jsx(Heading,{level:`4`,id:`documentos-de-sitio-web`,children:`Documentos de sitio web`}),`\n`,_jsx(ParamField,{body:`url`,type:`string`,id:`param-url`,children:_jsxs(_components.p,{children:[`La URL principal a rastrear. Obligatoria si no se proporciona `,_jsx(_components.code,{children:`links`}),`.`]})}),`\n`,_jsxs(ParamField,{body:`links`,type:`array`,id:`param-links`,children:[_jsxs(_components.p,{children:[`Array de URLs específicas a rastrear. Obligatorio si no se proporciona `,_jsx(_components.code,{children:`url`}),`.`]}),_jsx(Expandable,{title:`Propiedades de los enlaces`,children:_jsx(ParamField,{body:`link`,type:`string`,required:true,id:`param-link`,children:_jsx(_components.p,{children:`Una URL válida para incluir en el documento`})})})]}),`\n`,_jsx(ParamField,{body:`relative_links_limit`,type:`integer`,default:`10`,id:`param-relative-links-limit`,children:_jsx(_components.p,{children:`Número máximo de enlaces relativos a seguir durante el rastreo (1-50)`})}),`\n`,_jsx(Heading,{level:`4`,id:`documentos-de-archivo-pdf-txt-docx`,children:`Documentos de archivo (PDF, TXT, DOCX)`}),`\n`,_jsx(ParamField,{body:`file`,type:`file`,required:true,id:`param-file`,children:_jsxs(_components.p,{children:[`El archivo a subir (máx. 20 MB). Usa la codificación `,_jsx(_components.code,{children:`multipart/form-data`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`campos-de-respuesta`,children:`Campos de respuesta`}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`Mensaje de éxito`})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:[_jsx(_components.p,{children:`El objeto del documento creado`}),_jsxs(Expandable,{title:`Propiedades de los datos`,children:[_jsx(ResponseField,{name:`id`,type:`integer`,id:`param-id`,children:_jsx(_components.p,{children:`El identificador único del documento`})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-1`,children:_jsx(_components.p,{children:`El nombre del documento`})}),_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description-1`,children:_jsx(_components.p,{children:`Descripción del documento`})}),_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type-1`,children:_jsx(_components.p,{children:`Tipo de documento`})}),_jsx(ResponseField,{name:`type_label`,type:`string`,id:`param-type-label`,children:_jsx(_components.p,{children:`Etiqueta de tipo legible para humanos`})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`Estado de procesamiento (inicialmente será `,_jsx(_components.code,{children:`processing`}),`)`]})}),_jsx(ResponseField,{name:`status_label`,type:`string`,id:`param-status-label`,children:_jsx(_components.p,{children:`Etiqueta de estado legible para humanos`})}),_jsx(ResponseField,{name:`created_at`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`Marca de tiempo ISO 8601 de creación`})})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`tipos-de-documento`,children:`Tipos de documento`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Tipo`}),_jsx(_components.th,{children:`Descripción`}),_jsx(_components.th,{children:`Entrada`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`website`})}),_jsx(_components.td,{children:`Rastrea sitios web y extrae el contenido de texto`}),_jsx(_components.td,{children:`URL o lista de URLs`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pdf`})}),_jsx(_components.td,{children:`Extrae texto de archivos PDF`}),_jsx(_components.td,{children:`Carga de archivo PDF`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`txt`})}),_jsx(_components.td,{children:`Contenido de texto sin formato`}),_jsx(_components.td,{children:`Carga de archivo TXT`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`docx`})}),_jsx(_components.td,{children:`Extrae texto de documentos de Word`}),_jsx(_components.td,{children:`Carga de archivo DOCX`})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`El procesamiento de documentos es asíncrono. Llama al endpoint `,_jsx(_components.a,{href:`/es/api-v1/knowledgebases/get-document`,children:`Obtener documento`}),` para comprobar cuándo finaliza el procesamiento.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Crear documento","api":"POST https://app.famulor.de/api/user/knowledgebases/{knowledgebaseId}/documents","description":"Sube un nuevo documento a una base de conocimiento de Famulor mediante la API. Añade PDFs, texto, preguntas frecuentes o datos de producto que los asistentes de voz de IA puedan consultar durante las llamadas.","href":"/es/api-v1/knowledgebases/create-document"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,ResponseExample,ResponseField,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`API de Famulor 1.0 (legado).`}),` Esta página se aplica únicamente a Famulor 1.0 (`,_jsx(_components.code,{children:`app.famulor.de`}),`) y se conserva por compatibilidad. Para la plataforma actual, usa la `,_jsx(_components.a,{href:`/es/api-reference/introduction`,children:`referencia de la API de Famulor 2.0`}),`.`]})}),`\n`,_jsx(_components.p,{children:`Este endpoint crea un nuevo documento en una base de conocimiento. Los documentos se procesan de forma asíncrona: el endpoint responde de inmediato mientras el procesamiento continúa en segundo plano.`}),`\n`,_jsx(Heading,{level:`3`,id:`parámetros-de-ruta`,children:`Parámetros de ruta`}),`\n`,_jsx(ParamField,{path:`knowledgebaseId`,type:`integer`,required:true,id:`param-knowledgebase-id`,children:_jsx(_components.p,{children:`El identificador único de la base de conocimiento`})}),`\n`,_jsx(Heading,{level:`3`,id:`cuerpo-de-la-solicitud`,children:`Cuerpo de la solicitud`}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`El nombre del documento (máx. 255 caracteres)`})}),`\n`,_jsx(ParamField,{body:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Descripción opcional del documento (máx. 255 caracteres)`})}),`\n`,_jsx(ParamField,{body:`type`,type:`string`,required:true,id:`param-type`,children:_jsxs(_components.p,{children:[`Tipo de documento: `,_jsx(_components.code,{children:`website`}),`, `,_jsx(_components.code,{children:`pdf`}),`, `,_jsx(_components.code,{children:`txt`}),` o `,_jsx(_components.code,{children:`docx`})]})}),`\n`,_jsx(Heading,{level:`4`,id:`documentos-de-sitio-web`,children:`Documentos de sitio web`}),`\n`,_jsx(ParamField,{body:`url`,type:`string`,id:`param-url`,children:_jsxs(_components.p,{children:[`La URL principal a rastrear. Obligatoria si no se proporciona `,_jsx(_components.code,{children:`links`}),`.`]})}),`\n`,_jsxs(ParamField,{body:`links`,type:`array`,id:`param-links`,children:[_jsxs(_components.p,{children:[`Array de URLs específicas a rastrear. Obligatorio si no se proporciona `,_jsx(_components.code,{children:`url`}),`.`]}),_jsx(Expandable,{title:`Propiedades de los enlaces`,children:_jsx(ParamField,{body:`link`,type:`string`,required:true,id:`param-link`,children:_jsx(_components.p,{children:`Una URL válida para incluir en el documento`})})})]}),`\n`,_jsx(ParamField,{body:`relative_links_limit`,type:`integer`,default:`10`,id:`param-relative-links-limit`,children:_jsx(_components.p,{children:`Número máximo de enlaces relativos a seguir durante el rastreo (1-50)`})}),`\n`,_jsx(Heading,{level:`4`,id:`documentos-de-archivo-pdf-txt-docx`,children:`Documentos de archivo (PDF, TXT, DOCX)`}),`\n`,_jsx(ParamField,{body:`file`,type:`file`,required:true,id:`param-file`,children:_jsxs(_components.p,{children:[`El archivo a subir (máx. 20 MB). Usa la codificación `,_jsx(_components.code,{children:`multipart/form-data`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`campos-de-respuesta`,children:`Campos de respuesta`}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`Mensaje de éxito`})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:[_jsx(_components.p,{children:`El objeto del documento creado`}),_jsxs(Expandable,{title:`Propiedades de los datos`,children:[_jsx(ResponseField,{name:`id`,type:`integer`,id:`param-id`,children:_jsx(_components.p,{children:`El identificador único del documento`})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-1`,children:_jsx(_components.p,{children:`El nombre del documento`})}),_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description-1`,children:_jsx(_components.p,{children:`Descripción del documento`})}),_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type-1`,children:_jsx(_components.p,{children:`Tipo de documento`})}),_jsx(ResponseField,{name:`type_label`,type:`string`,id:`param-type-label`,children:_jsx(_components.p,{children:`Etiqueta de tipo legible para humanos`})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`Estado de procesamiento (inicialmente será `,_jsx(_components.code,{children:`processing`}),`)`]})}),_jsx(ResponseField,{name:`status_label`,type:`string`,id:`param-status-label`,children:_jsx(_components.p,{children:`Etiqueta de estado legible para humanos`})}),_jsx(ResponseField,{name:`created_at`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`Marca de tiempo ISO 8601 de creación`})})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`tipos-de-documento`,children:`Tipos de documento`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Tipo`}),_jsx(_components.th,{children:`Descripción`}),_jsx(_components.th,{children:`Entrada`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`website`})}),_jsx(_components.td,{children:`Rastrea sitios web y extrae el contenido de texto`}),_jsx(_components.td,{children:`URL o lista de URLs`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pdf`})}),_jsx(_components.td,{children:`Extrae texto de archivos PDF`}),_jsx(_components.td,{children:`Carga de archivo PDF`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`txt`})}),_jsx(_components.td,{children:`Contenido de texto sin formato`}),_jsx(_components.td,{children:`Carga de archivo TXT`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`docx`})}),_jsx(_components.td,{children:`Extrae texto de documentos de Word`}),_jsx(_components.td,{children:`Carga de archivo DOCX`})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`El procesamiento de documentos es asíncrono. Llama al endpoint `,_jsx(_components.a,{href:`/es/api-v1/knowledgebases/get-document`,children:`Obtener documento`}),` para comprobar cuándo finaliza el procesamiento.`]})}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`201 Website Document Created`,numberOfLines:`13`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Document created successfully. Processing will begin shortly.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Company Website\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Main website content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"website\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type_label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Website\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"processing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status_label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Processing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-01-08T10:30:00.000000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`201 PDF Document Created`,numberOfLines:`13`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Document created successfully. Processing will begin shortly.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Product Handbook\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"User manual for our product\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pdf\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type_label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PDF\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"processing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status_label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Processing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-01-08T10:35:00.000000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`404 Knowledgebase Not Found`,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Knowledgebase not found.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`422 Validation Error`,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A file is required for this document type.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"errors\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"file\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"A file is required for this document type.\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`500 Processing Error`,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Failed to create document. Please try again.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Crear documento","api":"POST https://app.famulor.de/api/user/knowledgebases/{knowledgebaseId}/documents","description":"Sube un nuevo documento a una base de conocimiento de Famulor mediante la API. Añade PDFs, texto, preguntas frecuentes o datos de producto que los asistentes de voz de IA puedan consultar durante las llamadas.","href":"/es/api-v1/knowledgebases/create-document"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Parámetros de ruta","slug":"parámetros-de-ruta","depth":3,"children":[]},{"title":"Cuerpo de la solicitud","slug":"cuerpo-de-la-solicitud","depth":3,"children":[]},{"title":"Documentos de sitio web","slug":"documentos-de-sitio-web","depth":4,"children":[]},{"title":"Documentos de archivo (PDF, TXT, DOCX)","slug":"documentos-de-archivo-pdf-txt-docx","depth":4,"children":[]},{"title":"Campos de respuesta","slug":"campos-de-respuesta","depth":3,"children":[]},{"title":"Tipos de documento","slug":"tipos-de-documento","depth":3,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"201 Website Document Created","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"13\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Document created successfully. Processing will begin shortly.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Company Website\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Main website content\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"website\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type_label\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Website\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"processing\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status_label\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Processing\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2025-01-08T10:30:00.000000Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"201 PDF Document Created","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"13\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Document created successfully. Processing will begin shortly.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">2\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Product Handbook\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"User manual for our product\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pdf\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type_label\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"PDF\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"processing\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status_label\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Processing\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2025-01-08T10:35:00.000000Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"404 Knowledgebase Not Found","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"3\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Knowledgebase not found.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"422 Validation Error","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"8\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"A file is required for this document type.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"errors\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"file\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"A file is required for this document type.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"500 Processing Error","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"3\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Failed to create document. Please try again.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Crear documento","path":"/api/user/knowledgebases/{knowledgebaseId}/documents","servers":[{"url":"https://app.famulor.de"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{"knowledgebaseId":{"schema":[{"type":"integer","description":"El identificador único de la base de conocimiento","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"name":[{"type":"string","description":"El nombre del documento (máx. 255 caracteres)","required":true}],"description":[{"type":"string","description":"Descripción opcional del documento (máx. 255 caracteres)"}],"type":[{"type":"string","description":"Tipo de documento: `website` , `pdf` , `txt` o `docx`","required":true}],"url":[{"type":"string","description":"La URL principal a rastrear. Obligatoria si no se proporciona `links` ."}],"links":[{"type":"array","items":[{"type":"object","properties":{"link":[{"type":"string","description":"Una URL válida para incluir en el documento","required":true}]}}],"description":"Array de URLs específicas a rastrear. Obligatorio si no se proporciona `url` ."}],"relative_links_limit":[{"type":"integer","description":"Número máximo de enlaces relativos a seguir durante el rastreo (1-50)"}],"file":[{"type":"file","description":"El archivo a subir (máx. 20 MB). Usa la codificación `multipart/form-data` .","required":true}]}}],"examples":{"example":{"value":{"name":"\u003cstring>","description":"\u003cstring>","type":"\u003cstring>","url":"\u003cstring>","links":[{"link":"\u003cstring>"}],"relative_links_limit":123}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"message":[{"type":"string","description":"Mensaje de éxito"}],"data":[{"type":"object","properties":{"id":[{"type":"integer","description":"El identificador único del documento"}],"name":[{"type":"string","description":"El nombre del documento"}],"description":[{"type":"string","description":"Descripción del documento"}],"type":[{"type":"string","description":"Tipo de documento"}],"type_label":[{"type":"string","description":"Etiqueta de tipo legible para humanos"}],"status":[{"type":"string","description":"Estado de procesamiento (inicialmente será `processing` )"}],"status_label":[{"type":"string","description":"Etiqueta de estado legible para humanos"}],"created_at":[{"type":"string","description":"Marca de tiempo ISO 8601 de creación"}]},"description":"El objeto del documento creado"}]}}],"examples":{"example":{"value":{"message":"\u003cstring>","data":{"id":123,"name":"\u003cstring>","description":"\u003cstring>","type":"\u003cstring>","type_label":"\u003cstring>","status":"\u003cstring>","status_label":"\u003cstring>","created_at":"\u003cstring>"}}}}}}},"deprecated":false}},"jsLinks":["/_mintlify/custom/ouraicall/4c22335804f75244/legal-print.js"],"subdomain":"ouraicall","siteName":"Famulor","title":"Crear documento - Famulor","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-v1/knowledgebases/create-document","matchLevel":1},"fr":{"href":"/fr/api-v1/knowledgebases/create-document","matchLevel":1},"es":{"href":"/es/api-v1/knowledgebases/create-document","matchLevel":0},"de":{"href":"/de/api-v1/knowledgebases/create-document","matchLevel":1}}},"lastModified":"2026-11-11T22:53:07.392Z","originalFileLocation":"es/api-v1/knowledgebases/create-document.mdx","locale":"es"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Sube un nuevo documento a una base de conocimiento de Famulor mediante la API. Añade PDFs, texto, preguntas frecuentes o datos de producto que los asistentes de voz de IA puedan consultar durante las llamadas.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Famulor\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ouraicall/rrdiFjUhl62ZvRGI/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/ouraicall/rrdiFjUhl62ZvRGI/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ouraicall/rrdiFjUhl62ZvRGI/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ouraicall/rrdiFjUhl62ZvRGI/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ouraicall/rrdiFjUhl62ZvRGI/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ouraicall/rrdiFjUhl62ZvRGI/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ouraicall/rrdiFjUhl62ZvRGI/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ouraicall/rrdiFjUhl62ZvRGI/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ouraicall/rrdiFjUhl62ZvRGI/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Crear documento - Famulor\">\u003cmeta data-mint-head property=\"og:description\" content=\"Sube un nuevo documento a una base de conocimiento de Famulor mediante la API. Añade PDFs, texto, preguntas frecuentes o datos de producto que los asistentes de voz de IA puedan consultar durante las llamadas.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Famulor\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.famulor.io/es/api-v1/knowledgebases/create-document\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ouraicall.mintlify.site/_mintlify/api/og/v2?division=Bases+de+conocimiento\u0026amp;title=Crear+documento\u0026amp;description=Sube+un+nuevo+documento+a+una+base+de+conocimiento+de+Famulor+mediante+la+API.+A%C3%B1ade+PDFs%2C+texto%2C+preguntas+frecuentes+o+datos+de+producto+que+los+asistentes+de\u0026amp;theme=6ac622a338fa6d9291627f6b\u0026amp;signature=fe1455d65480d1d0934e53038a8f5dcda1c745e18dba704611847e1ba1084a7c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Crear documento - Famulor\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Sube un nuevo documento a una base de conocimiento de Famulor mediante la API. Añade PDFs, texto, preguntas frecuentes o datos de producto que los asistentes de voz de IA puedan consultar durante las llamadas.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ouraicall.mintlify.site/_mintlify/api/og/v2?division=Bases+de+conocimiento\u0026amp;title=Crear+documento\u0026amp;description=Sube+un+nuevo+documento+a+una+base+de+conocimiento+de+Famulor+mediante+la+API.+A%C3%B1ade+PDFs%2C+texto%2C+preguntas+frecuentes+o+datos+de+producto+que+los+asistentes+de\u0026amp;theme=6ac622a338fa6d9291627f6b\u0026amp;signature=fe1455d65480d1d0934e53038a8f5dcda1c745e18dba704611847e1ba1084a7c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/ouraicall/rrdiFjUhl62ZvRGI/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Famulor\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1FD5FA\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.famulor.io/es/api-v1/knowledgebases/create-document\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/es/api-v1/knowledgebases/create-document.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.famulor.io/es/api-v1/knowledgebases/create-document\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.famulor.io/api-v1/knowledgebases/create-document\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.famulor.io/fr/api-v1/knowledgebases/create-document\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://docs.famulor.io/de/api-v1/knowledgebases/create-document\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.famulor.io/api-v1/knowledgebases/create-document\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.famulor.io/#organization\",\"name\":\"Famulor\",\"url\":\"https://docs.famulor.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://docs.famulor.io/logo/lockup-light.svg\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.famulor.io#website\",\"name\":\"Famulor\",\"url\":\"https://docs.famulor.io\",\"publisher\":{\"@id\":\"https://docs.famulor.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.famulor.io/es/api-v1/knowledgebases/create-document#webpage\",\"url\":\"https://docs.famulor.io/es/api-v1/knowledgebases/create-document\",\"name\":\"Crear documento\",\"description\":\"Sube un nuevo documento a una base de conocimiento de Famulor mediante la API. Añade PDFs, texto, preguntas frecuentes o datos de producto que los asistentes de voz de IA puedan consultar durante las llamadas.\",\"dateModified\":\"2026-11-11T22:53:07.392Z\",\"isPartOf\":{\"@id\":\"https://docs.famulor.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.famulor.io/es/api-v1/knowledgebases/create-document#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.famulor.io/es/api-v1/knowledgebases/create-document#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Bases de conocimiento\",\"item\":\"https://docs.famulor.io/es/api-v1/knowledgebases/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Crear documento\",\"item\":\"https://docs.famulor.io/es/api-v1/knowledgebases/create-document\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.famulor.io/es/api-v1/knowledgebases/create-document#apireference\",\"headline\":\"Crear documento\",\"name\":\"Crear documento\",\"description\":\"Sube un nuevo documento a una base de conocimiento de Famulor mediante la API. Añade PDFs, texto, preguntas frecuentes o datos de producto que los asistentes de voz de IA puedan consultar durante las llamadas.\",\"url\":\"https://docs.famulor.io/es/api-v1/knowledgebases/create-document\",\"mainEntityOfPage\":{\"@id\":\"https://docs.famulor.io/es/api-v1/knowledgebases/create-document#webpage\"},\"dateModified\":\"2026-11-11T22:53:07.392Z\",\"publisher\":{\"@id\":\"https://docs.famulor.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.famulor.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Famulor\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Famulor\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/es/api-v1/knowledgebases/create-document.md","siteName":"Famulor","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/api-v1/knowledgebases/create-document"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/api-v1/knowledgebases/create-document"}]},{"language":"es","tabs":[{"tab":"Documentación","pages":[{"title":"Documentación","href":"/es"}]},{"tab":"Automatización","pages":[{"title":"Automatización","href":"/es/automations/overview"}]},{"tab":"Marca blanca","pages":[{"title":"Marca blanca","href":"/es/admin/dashboard"}]},{"tab":"Referencia de la API","pages":[{"title":"Referencia de la API","href":"/es/api-reference/introduction"}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/es/mcp/overview"}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/es/cli/overview"}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/es/sdk/overview"}]},{"tab":"API 1.0 (Legacy)","groups":[{"group":"Referencia de la API","pages":[{"title":"Introducción","icon":"book-open","href":"/es/api-v1/introduction"},{"title":"Autenticación","icon":"key","href":"/es/api-v1/authentication"},{"title":"Obtener información del usuario","api":"GET https://app.famulor.de/api/user/me","href":"/es/api-v1/user/me"}]},{"group":"Asistentes de IA","pages":[{"title":"Crear asistentes","api":"POST https://app.famulor.de/api/user/assistant","href":"/es/api-v1/assistants/create"},{"title":"Eliminar asistente","api":"DELETE https://app.famulor.de/api/user/assistant/{id}","href":"/es/api-v1/assistants/delete"},{"title":"Activar el webhook entrante del asistente","api":"POST /user/assistants/enable-inbound-webhook","href":"/es/api-v1/assistants/enable-inbound-webhook"},{"title":"Desactivar el webhook entrante del asistente","api":"POST /user/assistants/disable-inbound-webhook","href":"/es/api-v1/assistants/disable-inbound-webhook"},{"title":"Activar el webhook de conversación finalizada","api":"POST https://app.famulor.de/api/user/assistants/enable-conversation-ended-webhook","href":"/es/api-v1/assistants/enable-conversation-ended-webhook"},{"title":"Desactivar el webhook de conversación finalizada","api":"POST https://app.famulor.de/api/user/assistants/disable-conversation-ended-webhook","href":"/es/api-v1/assistants/disable-conversation-ended-webhook"},{"title":"Desactivar el webhook del asistente","api":"POST /user/assistants/disable-webhook","href":"/es/api-v1/assistants/disable-webhook"},{"title":"Obtener los idiomas disponibles","api":"GET https://app.famulor.de/api/user/assistants/languages","href":"/es/api-v1/assistants/languages"},{"title":"Listar asistentes","api":"GET https://app.famulor.de/api/user/assistants/get","href":"/es/api-v1/assistants/list"},{"title":"Imágenes de asistentes","openapi":"GET /assistants/avatar-gallery","href":"/es/api-v1/assistants/avatar-gallery"},{"title":"Avatares de IA personalizados — capability","openapi":"GET /avatars/capability","href":"/es/api-v1/avatars/capability"},{"title":"Avatares de IA personalizados — uploads","openapi":"POST /avatars/uploads","href":"/es/api-v1/avatars/uploads"},{"title":"Avatares de IA personalizados — submit","openapi":"POST /avatars","href":"/es/api-v1/avatars/submit"},{"title":"Avatares de IA personalizados — list","openapi":"GET /avatars","href":"/es/api-v1/avatars/list"},{"title":"Avatares de IA personalizados — get","openapi":"GET /avatars/{id}","href":"/es/api-v1/avatars/get"},{"title":"Avatares de IA personalizados — delete","openapi":"DELETE /avatars/{id}","href":"/es/api-v1/avatars/delete"},{"title":"Avatares de IA personalizados — catalog","openapi":"GET /avatars/catalog","href":"/es/api-v1/avatars/catalog"},{"title":"Obtener modelos disponibles","api":"GET https://app.famulor.de/api/user/assistants/models","href":"/es/api-v1/assistants/models"},{"title":"Obtener asistentes salientes","api":"GET https://app.famulor.de/api/user/assistants/outbound","href":"/es/api-v1/assistants/outbound"},{"title":"Obtener números de teléfono disponibles","api":"GET https://app.famulor.de/api/user/assistants/phone-numbers","href":"/es/api-v1/assistants/phone-numbers"},{"title":"Listar proveedores de síntesis de voz","api":"GET https://app.famulor.de/api/user/assistants/synthesizer-providers","href":"/es/api-v1/assistants/synthesizer-providers"},{"title":"Listar proveedores de transcripción","api":"GET https://app.famulor.de/api/user/assistants/transcriber-providers","href":"/es/api-v1/assistants/transcriber-providers"},{"title":"Actualizar asistente","api":"PUT https://app.famulor.de/api/user/assistant/{id}","href":"/es/api-v1/assistants/update"},{"title":"Obtener voces disponibles","api":"GET https://app.famulor.de/api/user/assistants/voices","href":"/es/api-v1/assistants/voices"}]},{"group":"Carpetas","pages":[{"title":"Listar carpetas","api":"GET https://app.famulor.de/api/user/folders","href":"/es/api-v1/folders/list"},{"title":"Crear carpeta","api":"POST https://app.famulor.de/api/user/folder","href":"/es/api-v1/folders/create"},{"title":"Actualizar carpeta","api":"PUT https://app.famulor.de/api/user/folder/{id}","href":"/es/api-v1/folders/update"},{"title":"Eliminar carpeta","api":"DELETE https://app.famulor.de/api/user/folder/{id}","href":"/es/api-v1/folders/delete"}]},{"group":"Etiquetas","pages":[{"title":"Listar etiquetas","api":"GET https://app.famulor.de/api/user/labels","href":"/es/api-v1/labels/list"},{"title":"Crear etiqueta","api":"POST https://app.famulor.de/api/user/label","href":"/es/api-v1/labels/create"},{"title":"Actualizar etiqueta","api":"PUT https://app.famulor.de/api/user/label/{id}","href":"/es/api-v1/labels/update"},{"title":"Eliminar etiqueta","api":"DELETE https://app.famulor.de/api/user/label/{id}","href":"/es/api-v1/labels/delete"}]},{"group":"Leads","pages":[{"title":"Listar leads","api":"GET https://app.famulor.de/api/user/leads","href":"/es/api-v1/leads/list"},{"title":"Crear lead","api":"POST /user/lead","href":"/es/api-v1/leads/create"},{"title":"Actualizar lead","api":"PUT https://app.famulor.de/api/user/leads/{id}","href":"/es/api-v1/leads/update"},{"title":"Eliminar lead","api":"DELETE /user/leads/{id}","href":"/es/api-v1/leads/delete"}]},{"group":"Campañas","pages":[{"title":"Listar campañas","api":"GET https://app.famulor.de/api/user/campaigns","href":"/es/api-v1/campaigns/list"},{"title":"Obtener campaña","api":"GET https://app.famulor.de/api/user/campaign/{id}","href":"/es/api-v1/campaigns/get"},{"title":"Crear campaña","api":"POST https://app.famulor.de/api/user/campaign","href":"/es/api-v1/campaigns/create"},{"title":"Audiencias telefónicas externas (Beta)","openapi":"GET /campaigns/external-audience/connections","href":"/es/api-v1/campaigns/audience-connections"},{"title":"Audiencias telefónicas externas (Beta)","openapi":"GET /campaigns/external-audience/segments","href":"/es/api-v1/campaigns/audience-segments"},{"title":"Audiencias telefónicas externas (Beta)","openapi":"GET /campaigns/external-audience/products","href":"/es/api-v1/campaigns/audience-products"},{"title":"Actualizar el estado de la campaña","api":"POST https://app.famulor.de/api/user/campaigns/update-status","href":"/es/api-v1/campaigns/update-status"},{"title":"Eliminar campaña","api":"DELETE /user/campaign/{id}","href":"/es/api-v1/campaigns/delete"}]},{"group":"Automatizaciones","pages":[{"title":"Listar automatizaciones","api":"GET https://app.famulor.de/api/user/automate/flows","href":"/es/api-v1/automations/list"},{"title":"Obtener automatización","api":"GET https://app.famulor.de/api/user/automate/flows/{id}","href":"/es/api-v1/automations/get"},{"title":"Crear automatización","api":"POST https://app.famulor.de/api/user/automate/flows","href":"/es/api-v1/automations/create"},{"title":"Actualizar automatización","api":"PUT https://app.famulor.de/api/user/automate/flows/{id}","href":"/es/api-v1/automations/update"},{"title":"Restaurar versión anterior","api":"POST https://app.famulor.de/api/user/automate/flows/{id}/restore","href":"/es/api-v1/automations/restore"},{"title":"Eliminar automatización","api":"DELETE https://app.famulor.de/api/user/automate/flows/{id}","href":"/es/api-v1/automations/delete"},{"title":"Listar ejecuciones de automatización","api":"GET https://app.famulor.de/api/user/automate/flows/{id}/runs","href":"/es/api-v1/automations/list-runs"},{"title":"Reintentar ejecución de automatización","api":"POST https://app.famulor.de/api/user/automate/flows/{id}/runs/{run_id}/retry","href":"/es/api-v1/automations/retry-run"},{"title":"Listar plantillas de automatización","api":"GET https://app.famulor.de/api/user/automate/templates","href":"/es/api-v1/automations/list-templates"},{"title":"Aplicar plantilla de automatización","api":"POST https://app.famulor.de/api/user/automate/templates/{key}","href":"/es/api-v1/automations/apply-template"}]},{"group":"Acciones durante la llamada","pages":[{"title":"Listar acciones durante la llamada","api":"GET https://app.famulor.de/api/user/tools","href":"/es/api-v1/mid-call-tools/get-tools"},{"title":"Obtener acción durante la llamada","api":"GET https://app.famulor.de/api/user/tools/{id}","href":"/es/api-v1/mid-call-tools/get-tool"},{"title":"Crear acción durante la llamada","api":"POST https://app.famulor.de/api/user/tools","href":"/es/api-v1/mid-call-tools/create-tool"},{"title":"Actualizar acción durante la llamada","api":"PUT https://app.famulor.de/api/user/tools/{id}","href":"/es/api-v1/mid-call-tools/update-tool"},{"title":"Eliminar acción durante la llamada","api":"DELETE https://app.famulor.de/api/user/tools/{id}","href":"/es/api-v1/mid-call-tools/delete-tool"}]},{"group":"Chatbot de IA","pages":[{"title":"Listar conversaciones","api":"GET https://app.famulor.de/api/user/conversations","href":"/es/api-v1/conversations/list"},{"title":"Desactivar IA","api":"POST https://app.famulor.de/api/automate/conversations/{uuid}/disable-ai","href":"/es/api-v1/conversations/disable-ai"},{"title":"Activar IA","api":"POST https://app.famulor.de/api/automate/conversations/{uuid}/enable-ai","href":"/es/api-v1/conversations/enable-ai"},{"title":"Crear conversación","api":"POST /conversations","href":"/es/api-v1/ai-chatbot/create-conversation"},{"title":"Obtener conversación","api":"GET /conversations/{uuid}","href":"/es/api-v1/ai-chatbot/get-conversation"},{"title":"Enviar mensaje","api":"POST /conversations/{uuid}/messages","href":"/es/api-v1/ai-chatbot/send-conversation"}]},{"group":"Respuestas de IA","pages":[{"title":"Generar respuesta de IA","api":"POST https://app.famulor.de/api/user/ai/generate-reply","href":"/es/api-v1/ai-replies/generate-reply"}]},{"group":"Bases de conocimiento","pages":[{"title":"Listar bases de conocimiento","api":"GET https://app.famulor.de/api/user/knowledgebases","href":"/es/api-v1/knowledgebases/list"},{"title":"Obtener base de conocimiento","api":"GET https://app.famulor.de/api/user/knowledgebases/{id}","href":"/es/api-v1/knowledgebases/get"},{"title":"Crear base de conocimiento","api":"POST https://app.famulor.de/api/user/knowledgebases","href":"/es/api-v1/knowledgebases/create"},{"title":"Actualizar base de conocimiento","api":"PUT https://app.famulor.de/api/user/knowledgebases/{id}","href":"/es/api-v1/knowledgebases/update"},{"title":"Eliminar base de conocimiento","api":"DELETE https://app.famulor.de/api/user/knowledgebases/{id}","href":"/es/api-v1/knowledgebases/delete"},{"title":"Listar documentos","api":"GET https://app.famulor.de/api/user/knowledgebases/{knowledgebaseId}/documents","href":"/es/api-v1/knowledgebases/list-documents"},{"title":"Obtener documento","api":"GET https://app.famulor.de/api/user/knowledgebases/{knowledgebaseId}/documents/{documentId}","description":"Recupera los detalles de un documento específico dentro de una base de conocimiento de Famulor por ID mediante la API. Obtén el contenido, los metadatos y el estado de procesamiento para los agentes de voz de IA.","href":"/es/api-v1/knowledgebases/get-document"},{"title":"Crear documento","api":"POST https://app.famulor.de/api/user/knowledgebases/{knowledgebaseId}/documents","href":"/es/api-v1/knowledgebases/create-document"},{"title":"Actualizar documento","api":"PUT https://app.famulor.de/api/user/knowledgebases/{knowledgebaseId}/documents/{documentId}","description":"Actualiza el nombre o la descripción de un documento en una base de conocimiento de Famulor mediante la API. Mantén organizado y etiquetado el material fuente de tu agente de voz de IA.","href":"/es/api-v1/knowledgebases/update-document"},{"title":"Eliminar documento","api":"DELETE https://app.famulor.de/api/user/knowledgebases/{knowledgebaseId}/documents/{documentId}","href":"/es/api-v1/knowledgebases/delete-document"}]},{"group":"SMS","pages":[{"title":"Enviar SMS","api":"POST https://app.famulor.de/api/user/sms","href":"/es/api-v1/sms/send"}]},{"group":"WhatsApp","pages":[{"title":"Obtener remitentes de WhatsApp","api":"GET /user/whatsapp/senders","href":"/es/api-v1/whatsapp/get-senders"},{"title":"Obtener plantillas de WhatsApp","api":"GET /user/whatsapp/senders/{senderId}/templates","href":"/es/api-v1/whatsapp/get-templates"},{"title":"Enviar mensaje de plantilla de WhatsApp","api":"POST /user/whatsapp/send","href":"/es/api-v1/whatsapp/send-template"},{"title":"Enviar mensaje de texto libre de WhatsApp","api":"POST /user/whatsapp/send-freeform","href":"/es/api-v1/whatsapp/send-freeform"},{"title":"Obtener estado de sesión de WhatsApp","api":"GET /user/whatsapp/session-status","href":"/es/api-v1/whatsapp/session-status"}]},{"group":"Números de teléfono","pages":[{"title":"Listar números de teléfono","api":"GET https://app.famulor.de/api/user/phone-numbers/all","href":"/es/api-v1/phone-numbers/list"},{"title":"Actualizar número de teléfono","api":"PUT https://app.famulor.de/api/user/phone-numbers/{id}","href":"/es/api-v1/phone-numbers/update"},{"title":"Buscar números de teléfono disponibles","api":"GET https://app.famulor.de/api/user/phone-numbers/search","href":"/es/api-v1/phone-numbers/search"},{"title":"Comprar número de teléfono","api":"POST https://app.famulor.de/api/user/phone-numbers/purchase","href":"/es/api-v1/phone-numbers/purchase"},{"title":"Liberar número de teléfono","api":"DELETE https://app.famulor.de/api/user/phone-numbers/{id}","href":"/es/api-v1/phone-numbers/release"}]},{"group":"Trunks SIP","pages":[{"title":"Listar troncales SIP","api":"GET https://app.famulor.de/api/user/phone-numbers/sip-trunks","href":"/es/api-v1/sip-trunks/list"},{"title":"Obtener troncal SIP","api":"GET https://app.famulor.de/api/user/phone-numbers/sip-trunks/{id}","href":"/es/api-v1/sip-trunks/get"},{"title":"Crear troncal SIP","api":"POST https://app.famulor.de/api/user/phone-numbers/sip-trunks","href":"/es/api-v1/sip-trunks/create"},{"title":"Actualizar troncal SIP","api":"PUT https://app.famulor.de/api/user/phone-numbers/sip-trunks/{id}","href":"/es/api-v1/sip-trunks/update"},{"title":"Eliminar troncal SIP","api":"DELETE https://app.famulor.de/api/user/phone-numbers/{id}","href":"/es/api-v1/sip-trunks/delete"}]},{"group":"Llamadas","pages":[{"title":"Listar llamadas","api":"GET https://app.famulor.de/api/user/calls","href":"/es/api-v1/calls/list"},{"title":"Obtener llamada","api":"GET https://app.famulor.de/api/user/calls/{id}","href":"/es/api-v1/user/calls/get"},{"title":"Realizar una llamada","api":"POST https://app.famulor.de/api/user/make_call","href":"/es/api-v1/calls/make"},{"title":"Eliminar llamada","api":"DELETE https://app.famulor.de/api/user/calls/{call}","href":"/es/api-v1/calls/delete"}]},{"group":"Webhooks","pages":[{"title":"Webhook posterior a la llamada","icon":"link","href":"/es/api-v1/webhooks/post-call"},{"title":"Webhook de conversación finalizada","icon":"link","href":"/es/api-v1/webhooks/conversation-ended"},{"title":"Webhook de confirmaciones de lectura","icon":"link","href":"/es/api-v1/webhooks/read-receipts"}]}]},{"tab":"Novedades","pages":[{"title":"Novedades","href":"/es/changelog"}]}]},{"language":"de","pages":[{"title":"de","href":"/de/api-v1/knowledgebases/create-document"}]}]},"basePath":"","title":"Crear documento - Famulor","deploymentId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","buildId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","dynamics":["10e4515597","c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["BannerMarkdown-BXE6hfEw.js","dist-D9mz3EIS.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-D4yvBxwa.js","snippetPresets-CkhhQaIQ.js","utils-XnMGX2lF.js","style-to-object-BY3JEAdk.js","utils-CRXL1dwr.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-DvwRKZnA.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DYtgUc7n.js","_Uint8Array-D8z7zjjJ.js","isObject-FP1Yky1u.js","ApiExamples-RYQSJVS4.js","usePlaygroundInputsStore-k_R_BTDL.js","shallow-BwVhzryZ.js","isEqual-Cx5TQjMc.js","CodeSnippets-BDe2dS5N.js","CodeSnippet-C1QlaNYl.js","use-playground-group-access-DyQ_1IIe.js","Page-DQd9HN9r.js","api-description-markdown-BpDftTKT.js","DynamicMarkdown-CZT_WAnN.js","SectionHeading-K1iuDm9j.js","MethodPill-Dx3JIwHJ.js","getPastedJson-buPTdYs_.js","Check2Icon-DmMrzBYX.js","axios-CsQoIw0U.js"]}