The BOT Libre Chat Bot Web API

The BOT Libre Chat Bot Web API

You should utilize the net API to access your bot from your individual webpage through JavaScript, PHP, or any other language. You can even use the net API to create your individual cellular software to access your bot, corresponding to an Android or iOS software. An internet API is a set of HTTP GET/Post URI that allow sending and receiving of message data. Whenever you browse a website, your browser makes a sequence of HTTP GET/Post requests to URIs that return HTML content. In a web service the return XML or JSON knowledge, as a substitute of HTML content material.

The BOT libre internet API gives two Rest APIs in one. The first is a set of HTTP GET URIs that take Form data, and return XML knowledge. The second set of API’s take HTTP Post XML information, and return XML data. Most applications would use the XML Post-API, however some software may choose to use the Form GET API because of its simplicity.

The APIs are similar other than their mechanism. The kind-chat API receives a chat message and returns the chat bot’s reply as an XML doc. Optional: The appliance ID. If not handed, the application will probably be anonymous. REQUIRED: The ID of the bot to talk with. The bot’s name can be used, but the ID is better as it’s assured to be distinctive. Optional: The ID of the user who is sending the message. The consumer should be registered with BOT life.

  1. Clearing Up Misconceptions Article Template
  2. Calendarize It
  3. Ask Your Email List
  4. Campaign Name: Black Friday Social Media Campaign

If not passed the person might be nameless. The person is required if the bot is personal. The person/password are only required on the primary message. Optional: The password of the consumer who is sending the message. A token may also be used. Optional: The token of the consumer who’s sending the message. A token might be obtained through check-consumer and is valid until reset.

Optional: The dialog ID for the current conversation. This must not be passed on the primary message, however can be returned by the response, and must be used for all subsequent messages within the conversation. Optional: The chat message to send to the bot. The message will be omitted if you want the bot to begin the dialog (if the bot has a greeting set).

The message must be encoded within the URI. Optional: An emotion to tag the message with. This is certainly one of LOVE, LIKE, DISLIKE, HATE, RAGE, ANGER, CALM, SERENE, ECSTATIC, Happy, Sad, CRYING, PANIC, AFRAID, Confident, COURAGEOUS, Surprise, BORED, LAUGHTER, Serious. Optional: A boolean that defines the chat message is a correction to the bot’s final answer. Optional: A boolean that defines the bot’s last reply as offensive. The message will likely be flagged for the bot’s administrator to evaluate. Optional: A boolean that defines the end of the conversation.

QuestionOPTIONAL: A boolean that signifies the query should be included in the response. A chatter robot, chatter bot, chatbot, or chat bot is a computer program designed to simulate an intelligent conversation with a number of human customers via auditory or textual methods, primarily for participating in small speak. The type-check-instance API validates that a bot ID or title exists and returns the bot’s details.

Optional: The application ID. If not handed, the applying will probably be nameless. REQUIRED: The ID of the bot to validate. The bot’s title can also be used, but the ID is better as it is guaranteed to be distinctive. REQUIRED: The name of the bot to validate. The bot’s ID may also be used. Optional: The ID of the person. The user has to be registered with BOT life.

Comments are closed.