---
title: "Update a Sitemap integration"
method: POST
path: "/integration/sitemap/{sitemapIntegrationId}/update"
tags: ["Sitemap Integration"]
---

# Update a Sitemap integration

`POST /integration/sitemap/{sitemapIntegrationId}/update`

## Request

- Base URL: `https://api.chatbotkit.com/api/v1`
- URL: `https://api.chatbotkit.com/api/v1/integration/sitemap/{sitemapIntegrationId}/update`
- Auth: HTTP bearer

## Path parameters

- `sitemapIntegrationId` string, required: The ID of the Sitemap integration

## Request body

- object: Blueprint properties
  - `alias` string, nullable: The unique alias for the instance
  - `name` string: The associated name
  - `description` string: The associated description
  - `meta` Meta: Meta data information
  - `blueprintId` string, nullable: The ID of the blueprint
  - `datasetId` string: The ID of the dataset to use for this Sitemap integration
  - `url` string: The URL to use for this Sitemap integration
  - `glob` string: The glob rules to use for this Sitemap integration
  - `selectors` string: The selector rules to use for this Sitemap integration
  - `javascript` boolean: Indicates if the Sitemap integration should use JavaScript during the spidering process
  - `syncSchedule` string: The sync schedule to use for this Sitemap integration
  - `expiresIn` number: Record expiry in milliseconds

## Response `200`

The Sitemap integration was updated successfully

- object
  - `id` string, required: The ID of the Sitemap Integration

## Other responses

- `default`: An error response

---

[API](https://skmtc.dev/chatbotkit/apis/cbk-api.md) · [All operations](https://skmtc.dev/chatbotkit/apis/cbk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chatbotkit/apis/cbk-api/revisions/13d250576136?raw)
