BOTlibre

FREE
By paphus
Updated 7 months ago
Communication
5.2/10
Popularity Score
497ms
Latency
-
Success Rate

BOTlibre API Documentation

BOT libre's goal is to foster an open, safe community of artificial intelligent chat bots and their developers.

BOT libre allows you to create your own artificial intelligent chat bot, train them, and share them with others. You are free to use this website, and create your own bots for personal, commercial, or recreation usages.

You can give your bot its own avatar images, connect it to Twitter, or IRC chat. You can train your bot through interacting with it, or using chat logs. You can program your bot using a 4th generational state machine scripting language "Self". You can import data from the web into your bot's memory, such as words from Wiktionary, or information from Freebase. You can create a bot to act as your own website avatar. You can create a bot to provide customer service or technical support for your products or services.

BOT libre is a website produced and hosted by Paphus Solutions Inc.

View API Details
REST-GET
GETform-chat
GETform-check-instance
GETform-get-all-instances
GETform-check-user
GETform-chat

The form-chat API receives a chat message and returns the chat bot's reply as an XML document.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
instanceSTRING
REQUIREDREQUIRED: The ID of the bot to chat with. The bot's name can also be used, but the ID is better as it is guaranteed to be unique.
Optional Parameters
applicationSTRING
OPTIONALOPTIONAL: The application ID. If not passed, the application will be anonymous.
passwordSTRING
OPTIONALOPTIONAL: The password of the user who is sending the message. A token can also be used.
tokenSTRING
OPTIONALOPTIONAL: The token of the user who is sending the message. A token can be obtained through check-user, and is valid until reset.
conversationSTRING
OPTIONALOPTIONAL: The conversation ID for the current conversation. This must not be passed on the first message, but will be returned by the response, and should be used for all subsequent messages in the conversation.
includeQuestionSTRING
OPTIONALOPTIONAL: A boolean that indicates the question should be included in the response.
userSTRING
OPTIONALOPTIONAL: The ID of the user who is sending the message. The user must be registered with BOT libre. If not passed the user will be anonymous. The user is required if the bot is private. The user/password are only required on the first message.
correctionSTRING
OPTIONALOPTIONAL: A boolean that defines the chat message is a correction to the bot's last answer.
messageSTRING
OPTIONALOPTIONAL: The chat message to send to the bot. The message can be omitted if you wish the bot to start the conversation (if the bot has a greeting set). The message must be encoded in the URI.
emoteSTRING
OPTIONALOPTIONAL: A emotion to tag the message with. This is one of LOVE, LIKE, DISLIKE, HATE, RAGE, ANGER, CALM, SERENE, ECSTATIC, HAPPY, SAD, CRYING, PANIC, AFRAID, CONFIDENT, COURAGEOUS, SURPRISE, BORED, LAUGHTER, SERIOUS.
offensiveSTRING
OPTIONALOPTIONAL: A boolean that defines the bot's last answer as offensive. The message will be flagged for the bot's administrator to review.
disconnectSTRING
OPTIONALOPTIONAL: A boolean that defines the end of the conversation.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication