Learn how to upload data sources to your chatbot using the ChatFly API.
https://backend.chatfly.co/api/scraping/url
{ "bot_id": "xxxx-xxxx-xxxx-xxxx", "scrape_url": "Your URL", "scrape_type": 2 }
curl -X POST "https://backend.chatfly.co/api/scraping/url" \ -H "Authorization: Bearer token" \ -H "Content-Type: application/json" \ -d '{ "bot_id": "xxxx-xxxx-xxxx-xxxx", "scrape_url": "https://xxxx", "scrape_type": 2 }'
https://backend.chatfly.co/api/scraping/url/{bot_id}.
{bot_id}
{ "bot_id": "xxxx-xxxx-xxxx-xxxx" }
curl -X Get "https://backend.chatfly.co/api/scraping/url/xxxx-xxxx-xxxx-xxxx" \ -H "Authorization: Bearer token" \ -H "Content-Type: application/json" \
[ { "knowledge_base_id": "xxxx-xxxx-xxxx-xxxx", "url": "Your URL", "num_token": 0 }, ... ]
Was this page helpful?