API DocumentationGetting started

Getting started with the SiteGist API

Learn how to authenticate and make requests to the SiteGist API.

Documentation Index

Fetch the complete documentation index at: https://sitegist.co/docs/llms.txt

The SiteGist API allows you to programmatically manage chatbots, send messages, access conversation history, and configure settings. All endpoints use REST principles and return JSON responses.

Base URL

https://api.sitegist.co/v1

Authentication

SiteGist uses API keys for authentication. Include your API key in the Authorization header of every request.

1

Get your API key

Sign in to your SiteGist account, navigate to Profile > API Access, and copy your key.

2

Keep it secure

Store it securely. Anyone with your key can access and modify your chatbots.

3

Using your key

Include the key in the Authorization header with the Bearer scheme.

Example request

cURL
curl https://api.sitegist.co/v1/chatbots \
  -H "Authorization: Bearer YOUR_API_KEY"

Response format

All API responses use a consistent JSON structure:

Success Response
{
  "success": true,
  "message": "Operation completed successfully",
  "data": {
    "project_id": "proj_12345",
    "name": "Customer Support Bot"
  }
}

API Resources

The SiteGist API provides endpoints for:

Chatbots
Appearance
Content
Messages
Threads
Settings
Prompts
Webhooks