Developers
API Reference
Interact with your bots programmatically using our REST API.
Note: API access is currently in Beta. Please contact support to generate an API Key.
Authentication
All API requests must include your API key in the header.
Authorization: Bearer YOUR_API_KEY
Endpoints
POST
/v1/chat/completionsSend a message to a bot and get a response.
Request Body
{
"bot_id": "7334ea7a...",
"messages": [
{ "role": "user", "content": "How do I reset my password?" }
]
}GET
/v1/botsList all bots associated with your account.