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

# Check if Sitemap Exists

> Check if a sitemap exists for a blog site and identify its type



## OpenAPI

````yaml /api-reference/blogs/openapi.json get /blogs/site/check-sitemap
openapi: 3.0.0
info:
  title: Blogs API
  description: Documentation for Blogs
  version: '1.0'
  contact: {}
servers:
  - url: https://services.leadconnectorhq.com
security: []
tags:
  - name: blogs
    description: Documentation for Blogs
paths:
  /blogs/site/check-sitemap:
    get:
      summary: Check if Sitemap Exists
      description: Check if a sitemap exists for a blog site and identify its type
      operationId: checkSitemap
      parameters:
        - name: website
          required: true
          in: query
          description: Website URL to check for sitemap
          schema:
            example: example.com
            type: string
        - name: locationId
          required: true
          in: query
          description: Location ID
          schema:
            example: lMOzIQZne5m6zQ528sT6
            type: string
      responses:
        '200':
          description: Sitemap check result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckSitemapResponseDTO'
        '400':
          description: Bad request - Invalid website URL or location ID
        '404':
          description: Sitemap not found
components:
  schemas:
    CheckSitemapResponseDTO:
      type: object
      properties:
        hasSitemap:
          type: boolean
          example: true
          description: Whether sitemap exists for the blog site
      required:
        - hasSitemap

````