Chatbot API - Send/Receive Messages

Using API to Send & Receive Messages w/ AI Chatbot

What is an API?

The API is a way for you to send and receive data from your AI chatbot. When we use the API we are essentially copying and pasting different values from one place to another. The most important thing is making sure you are pasting everything in the right place.

This is the specific URL that is used to send and receive data from your AI chatbot. In order to properly send and receive messages with the AI chatbot via the API you need to have the following fields setup.

URL: https://YOUT_AGENCY_DOMAIN/en/chatbot/api/v1/message/

HEADERS: Authorization | Token ba534d4274523452345da0e99345a67000

BODY (KEY AND VALUE):

- chatbot_uuid | this is the value copy/pasted from the chatbot鈥檚 dashboard

- query | this is the message from the user that you want to send to the AI chatbot

- user_key | this is the unique contact ID to identify each person鈥檚 conversation

After the connection to the chatbot has been made you will be able to send it questions and receive a generated response.

Last updated