API Documentation
https://api.kindroid.ai/v1
All endpoints require authentication, use the Authorization header with Bearer {Your API key, which should start with kn_...}. Your API key and AI ID can be found in General settings.
WARNING: You should only play around with the API if you're a developer interested in tinkering with integrating Kindroid. DO NOT share your key with anyone who asks, and unless it comes from admins do not trust other sources. Someone with your API key could do anything do your account, including deleting it.
These few are the select ones we openly document for integrations currently. We may expand featuresets for API at a later point in time.
Sends a message to an AI and receives a response. This request may take a long time, so you should await for its response.
- URL: /send-message
- Method: POST
- Request Body:
- { "ai_id": "string", "message": "string" }
- Response:
- Success: 200 OK with AI response
- Error: 400 Bad Request, 401 Unauthorized, 403 Forbidden, 500 Internal Server Error
Ends a chat and resets the short term memory. Greeting is mandatory & is the first message in a new conversation.
- URL: /chat-break
- Method: POST
- Request Body:
- { "ai_id": "string", "greeting": "string" }
- Response:
- Success: 200 OK
- Error: 400 Bad Request, 401 Unauthorized, 403 Forbidden, 500 Internal Server Error