API
REST API reference
All endpoints are versioned under /api/v1, return a consistent JSON envelope, and accept a Bearer JWT or API key.
Authentication
POST
/auth/registerCreate an accountPOST
/auth/loginSign in with email and passwordPOST
/auth/googleSign in with a Google identity credentialPOST
/auth/refreshExchange a refresh token for a new access tokenPOST
/auth/logoutRevoke the current refresh tokenGET
/auth/meGet the current authenticated userChatbots
GET
/botsList your chatbotsPOST
/botsCreate a chatbotGET
/bots/{uuid}Get a chatbotPUT
/bots/{uuid}Update a chatbotDELETE
/bots/{uuid}Delete a chatbotGET
/bots/{uuid}/knowledge-sourcesList knowledge sourcesPOST
/bots/{uuid}/knowledge-sources/websiteCrawl a website as a knowledge sourceGET
/bots/{uuid}/conversationsList conversationsGET
/bots/{uuid}/analyticsGet bot analyticsWebhooks
GET
/webhooks/eventsList supported event typesGET
/webhooksList your webhooksPOST
/webhooksRegister a webhook endpointPUT
/webhooks/{uuid}Enable or disable a webhookDELETE
/webhooks/{uuid}Remove a webhookGET
/webhooks/{uuid}/logsView delivery logsPublic widget
GET
/widget/{botUuid}/configGet public bot + widget configurationPOST
/widget/{botUuid}/messagesSend a visitor messagePOST
/widget/{botUuid}/messages/streamSend a message with a streamed responsePOST
/widget/{botUuid}/leadsCapture a leadBilling & teams
GET
/subscriptions/plansList available plansGET
/subscriptions/currentGet your current subscriptionPOST
/teams/{uuid}/inviteInvite a team memberPOST
/api-keysCreate an API key