Chatbots
Export Chatbot - API
Access your chatbot through the VectorShift 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.”
Here’s how you can integrate your app with the chatbot through API:
- 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. - Upon successful request, you will receive a response containing bot
output
along with a uniqueconversation_id
. - Utilise the received
output
to display the bot’s response and store theconversation_id
to continue and maintain the chat session.