---
title: "Process Sitemap"
method: POST
path: "/chatbots/{chatbot_id}/websites/sitemap"
tags: ["Chatbot Websites"]
---

# Process Sitemap

`POST /chatbots/{chatbot_id}/websites/sitemap`

## Request

- Base URL: `https://app.boei.help/api/v1`
- URL: `https://app.boei.help/api/v1/chatbots/{chatbot_id}/websites/sitemap`
- Auth: HTTP bearer

Submit a sitemap URL to discover and train pages. The sitemap is parsed and all discovered URLs are crawled.

NOTE: Runs in the background. Poll websites.get for page counts per status.

## Request body

- object
  - `url` string, required: The sitemap URL.
  - `name` string, nullable: Optional display name. Auto-generated from URL if omitted.
  - `include_paths` string, nullable: Comma-separated paths to include.
  - `exclude_paths` string, nullable: Comma-separated paths to exclude.

## Response `202`

- object
  - `website` object
    - `id` string
    - `name` string
    - `url` string
    - `type` string
    - `status` string
    - `progress` integer
  - `job_id` string
  - `status_url` string
  - `message` string

---

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