SuuSri API
Build custom AI experiences, integrate with your existing backend, and extend the capabilities of your virtual receptionist programmatically.
Note: The API is currently in Beta v1. Breaking changes are announced via the changelog.
Authentication
Authenticate requests by including your secret API key in the Authorization header.
Authorization: Bearer sk_live_51M...
Chat Completions
Send a message to the AI and receive a response. This endpoint supports streaming for real-time applications.
Request Body
- modelstring (required)
- messagesarray (required)
- temperaturenumber (0-1)
- streamboolean
curl https://api.suusri.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "suusri-turbo",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'