cURL
curl --request POST \ --url https://backend.chatfly.co/api/scraping/text-document/{bot_id} \ --header 'Content-Type: application/json' \ --data '{ "content": "<string>" }'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "bot_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "content": "<string>", "num_token": 123, "created_at": "2023-11-07T05:31:56Z" }
Import a single text document for a bot.
The access token received from the authorization server in the OAuth 2.0 flow.
Schema for importing a text document.
Successful Response
Schema for representing the response of a bot's text document.
Was this page helpful?