Chat With Your Site
← Back to home

API reference

Last updated: July 14, 2026

Use these endpoints to query indexed website content from your agents and backend services. All site-scoped routes use the site UUID from your dashboard.

Search endpoint · Requirements · Errors

Base URL

https://chatwithyoursite.com

Authentication

All API routes require an API key with the search ability.

Sign in and open API keys to create keys. Send the key as a Bearer token:

Authorization: Bearer cwy_your_api_key_here

Default rate limit is 60 requests per minute per key. You can set a lower limit when you create a key.

Requirements

  • The site must be Ready (crawl finished and content indexed).
  • The API key must belong to the site owner and include the search ability.
  • Use the site UUID from the dashboard, not the numeric database id.

Errors

  • 401 — Missing or invalid API key
  • 403 — Key lacks the search ability, or the site is not yours
  • 422 — Validation failed (for example an empty query)
  • 429 — Rate limit exceeded