Learn how to upload data sources to your chatbot using the ChatFly API.
Before you begin, ensure you have the following:
The API endpoint for uploading data sources to your chatbot is:
To upload a data source, send a POST request to the API endpoint with a JSON request body containing the URL of the data source. Here’s an example request body:
Here are example commands for uploading data sources using the ChatFly API:
Replace token with your access token.
The API endpoint for getting a list of URLs for your chatbot is:
Make sure to replace {bot_id}
with the UUID of your bot.
To get a list of URLs, send a GET request to the API endpoint with a params request. Here’s an example params request:
Here are example commands for getting a list of URLs using the ChatFly API:
Replace token with your access token.
The list of URLs is responded:
Learn how to upload data sources to your chatbot using the ChatFly API.
Before you begin, ensure you have the following:
The API endpoint for uploading data sources to your chatbot is:
To upload a data source, send a POST request to the API endpoint with a JSON request body containing the URL of the data source. Here’s an example request body:
Here are example commands for uploading data sources using the ChatFly API:
Replace token with your access token.
The API endpoint for getting a list of URLs for your chatbot is:
Make sure to replace {bot_id}
with the UUID of your bot.
To get a list of URLs, send a GET request to the API endpoint with a params request. Here’s an example params request:
Here are example commands for getting a list of URLs using the ChatFly API:
Replace token with your access token.
The list of URLs is responded: