> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qcall.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List Sitemap URLs

> Discovers page URLs from a website's sitemap — used before embedding URLs in the Website Scrape flow.

Send one or more site URLs (e.g. `https://example.com`). The response returns the page URLs discovered in each sitemap, which the user selects before calling `POST /knowledgeBase/embed-urls`.

`pagelimit` caps the number of page URLs returned per sitemap — the application uses `100`.


## OpenAPI

````yaml POST /knowledgeBase/list-sitemap
openapi: 3.0.1
info:
  title: QCall Ai API
  description: >-
    A sample API that uses a campaign store as an example to demonstrate
    features in the OpenAPI specification
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.qcall.ai/api/v1
security:
  - apiKeyAuth: []
paths:
  /knowledgeBase/list-sitemap:
    post:
      description: >-
        Discovers page URLs from a website's sitemap (used by the **Website
        Scrape** tab before calling `POST /knowledgeBase/embed-urls`). Send one
        or more site URLs; the response returns the sitemap URLs found, which
        the user selects before embedding.
      requestBody:
        description: Site URLs to read sitemaps from
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListSitemapRequest'
        required: true
      responses:
        '200':
          description: Sitemap discovery response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    description: Whether the request succeeded
                  message:
                    type: string
                    description: Response message
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/SitemapResult'
        '400':
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ListSitemapRequest:
      required:
        - urls
      type: object
      properties:
        urls:
          description: The site URLs to read sitemaps from (e.g. `https://example.com`)
          type: array
          items:
            type: string
        pagelimit:
          description: >-
            Maximum number of page URLs returned per sitemap (the application
            uses 100)
          type: integer
    SitemapResult:
      type: object
      properties:
        urls:
          description: The page URLs discovered in this sitemap
          type: array
          items:
            type: string
    Error:
      required:
        - error
        - message
      type: object
      properties:
        error:
          type: integer
          format: int32
        message:
          type: string
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      name: x-api-key
      in: header

````