---
title: "Add Page to Website"
method: POST
path: "/chatbots/{chatbot_id}/websites/{website_id}/webpages"
tags: ["Chatbot Websites"]
---

# Add Page to Website

`POST /chatbots/{chatbot_id}/websites/{website_id}/webpages`

## Request

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

Add a URL to an existing website. The page will be automatically crawled and trained.

## Request body

- object
  - `url` string, required: The URL to add.

## Response `200`

URL already exists

- object
  - `webpage` object
    - `id` string
    - `url` string
    - `status` string
  - `already_exists` boolean
  - `message` string

## Other responses

- `201`
- `403`

---

[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)
