---
title: "Create a knowledge base document from a URL"
method: POST
path: "/companies/{company}/knowledge-base/documents/url"
tags: ["Knowledge Base"]
---

# Create a knowledge base document from a URL

`POST /companies/{company}/knowledge-base/documents/url`

## Path parameters

- `company` integer, required

## Request body

- object
  - `url` string, required — URL to crawl for document content
  - `name` string, nullable — Display name for the document
  - `identifierKey` string, nullable — Optional stable identifier (e.g. FAQ, Customer_Questions). Useful when the client is filling in a section the business analysis could not extract.
  - `businessUnitId` integer, nullable
  - `recrawlIntervalDays` integer, nullable
  - `autoRemoveOn404` boolean

## Response `201`

Document created

- AppHttpResourcesApiKnowledgeBaseDocumentResource — unresolved $ref

---

[API](https://skmtc.dev/800/apis/public-api.md) · [All operations](https://skmtc.dev/800/apis/public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/800/public-api/revisions/aab9efc97342/schema)
