https://sitegpt.ai/api/v2. Paths in the v0 column are relative to https://sitegpt.ai/api.
What changes
See API conventions for the v2 rules.
Names
To make a persona or instruction active, v0 uses
.../assign and v2 uses .../use.
Endpoint mapping
Chatbots
Content
Messages and conversations
Conversation starters and follow-up suggestions
The v0 endpoint reference pages show conversation starters under
/v0/chatbots/{chatbotId}/conversation-starters. The API serves them only at /v0/chatbots/{chatbotId}/quick-prompts. The conversation-starters path returns 404.Instructions and personas
Settings
In API v2, each settings group is a section ofPATCH /chatbots/{chatbotId}/settings/{section}. You can also change several sections at once with PATCH /chatbots/{chatbotId}/settings.
The v2
webhooks section needs webhook access on your plan. See Webhooks.
Removed in v2
- The v0 endpoint reference lists Whitelabel endpoints (
/v0/w/brands/...). The API does not serve them, and they have no v2 equivalent.
Only in API v2
API v2 has many endpoints that API v0 does not have. Some examples:- Custom responses:
/chatbots/{chatbotId}/custom-responses - Content documents and connected sources:
/chatbots/{chatbotId}/documents,/chatbots/{chatbotId}/knowledge/sources - File upload:
POST /chatbots/{chatbotId}/knowledge/files - Leads:
/chatbots/{chatbotId}/leads - Members:
/chatbots/{chatbotId}/members - Tags:
/chatbots/{chatbotId}/tags - Analytics:
GET /chatbots/{chatbotId}/analytics - Release a conversation to the AI:
POST /chatbots/{chatbotId}/conversations/{threadId}/switch-to-ai - Take over a conversation:
POST /chatbots/{chatbotId}/conversations/{threadId}/take-over - Account, usage, billing, and tokens:
/account,/usage,/billing/...,/tokens