
IntelliChat API Docs
Description
This is an API of a chatbot that responds to your messages
Base URL
The base URL for all API requests is:
https://intelli-chat-ai.vercel.app
Endpoints
POST /chat
Returns JSON response
Parameters
user-input
: The message you send to chatbot
Response
Returns a JSON object with the following properties:
response
: Chatbot’s response
Example
Request:
import requests
url = 'https://intelli-chat-ai.vercel.app/chat'
data = {
'user_input': 'Hi'
}
response = requests.post(url, data=data)
if response.status_code == 200:
print(response.text)
else:
print("Error:", response.status_code, response.text)
Response:
{"response":"Hi! Welcome to IntelliChat. How may I help?"}
Errors
This API uses the following error codes:
400 Bad Request
: The request was malformed or missing required parameters.
404 Not Found
: The requested resource was not found.
500 Internal Server Error
: An unexpected error occurred on the server.
Pricing
This API is completely free to use. If you find it helpful and would like to support the developer, you can buy a coffee for him.
☕ https://ko-fi.com/dimuthdezoysa
☕ https://buymeacoffee.com/dimuthdezoysa
Contact
If you encounter any issues or have any questions regarding the API, please feel free to reach out to our support team at dimuthsakya@protonmail.com