API integration
Premium plans can query Botino programmatically via API keys with quotas and usage tracking.
Key points
- - Generate API keys from the Access Keys page in the panel.
- - Send key in the x-api-key header to call the chat endpoint.
- - Monthly quotas depend on plan and are enforced server-side.
- - Per-key hourly and monthly usage is visible in analytics.
Reference snippet
curl -X POST "<BOTINO_SERVER>/api/v1/api-access/chat" \
-H "x-api-key: btn_live_********************************" \
-H "Content-Type: application/json" \
-d '{
"websiteId": "<website-id>",
"message": "How can I return an order?"
}'
# Reuse sessionKey from the response on follow-up requests.