chatformdocs
API referenceV1

Add a web page as knowledge

POST
/v1/forms/{id}/knowledge/link

Authorization

AuthorizationBearer <token>

A server-side secret key. Never send one from a browser — a request carrying an Origin header is refused for this reason.

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/forms/string/knowledge/link" \  -H "Content-Type: application/json" \  -d '{    "url": "http://example.com"  }'
{  "id": "string"}