---
title: "Crawl Website"
method: POST
path: "/scrape/crawl-website"
---

# Crawl Website

`POST /scrape/crawl-website`

Legacy endpoint.  Scrapes a single URL and saves to the knowledge base.

Preserved for backward compatibility -- new integrations should use
POST /scrape/website instead.  Now delegates to Firecrawl v2 SDK and
honours the maxAge caching parameter.

## Headers

- `authorization` string, required

## Request body

- CrawlRequest
  - `url` string, required
  - `excludePaths` string[], nullable
  - `includePaths` string[], nullable
  - `maxDepth` integer, nullable
  - `limit` integer, nullable
  - `maxAge` integer, nullable
  - `agentId` string, required
  - `lastUpdatedBy` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/phonely/apis/fastapi.md) · [All operations](https://skmtc.net/phonely/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/phonely/fastapi/versions/9bfd5599d479/schema)
