POST
/
api
/
scraping
/
url
curl --request POST \
  --url https://backend.chatfly.co/api/scraping/url \
  --header 'Content-Type: application/json' \
  --data '{
  "bot_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "scrape_url": "<string>",
  "scrape_type": 1
}'
"<string>"

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Schema for creating a knowledge base entry.

bot_id
string
required

Unique identifier for the associated bot.

scrape_url
string
required

URL to scrape content for the knowledge base.

scrape_type
enum<integer> | null
default:
2

Type of scraping for the knowledge base.

Available options:
1,
2,
3

Response

200
application/json
Successful Response

The response is of type string.