---
title: "Map Website"
method: POST
path: "/scrape/map"
---

# Map Website

`POST /scrape/map`

## Request

- Base URL: `https://api.phonely.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.phonely.ai/scrape/map`
- Auth: none declared. Required headers: `authorization`

Discover all pages on a website (1 credit regardless of count).

Returns a list of URLs with optional title/description metadata.
Pass a `search` query to filter results by relevance.
Useful for letting users pick which pages to add to the knowledge base.

## Headers

- `authorization` string, required

## Request body

- MapWebsiteRequest
  - `url` string, required
  - `search` string, nullable
  - `limit` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/phonely/apis/phonely-api.md) - [All operations](https://skmtc.dev/phonely/apis/phonely-api/llms.txt) - [OpenAPI document](https://skmtc.dev/phonely/apis/phonely-api/revisions/9bfd5599d479?raw)
