Export Chatbot - API Export

How to export your chatbot using API.

You will find a code snippet either in Python, JavaScript, or cURL that you can use to deploy the chatbot through code. Ensure you replace your_api_key with your actual API keys. You can find your API keys by clicking your profile on the top-left side and click "API Keys."

Go to Usage or Profile from the left-top side.
Create API Keys by pressing + on top of the table.

Here's how you can integrate your app with the chatbot through API:

  1. Make an API call to the provided URL with the necessary headers and body fields. You may decide to omit the 'conversation_id' in your initial request.

  2. Upon successful request, you will receive a response containing bot output along with a unique conversation_id.

  3. Utilise the received output to display the bot's response and store the conversation_id to continue and maintain the chat session.

Last updated