chatformdocs
API referenceV1

Download an uploaded knowledge file

The file as it was uploaded. Images, PDFs and recordings are served inline so they can be previewed; anything else downloads.

GET
/v1/forms/{id}/knowledge/{sourceId}/file

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
sourceId*string

Response Body

application/octet-stream

application/json

curl -X GET "https://example.com/v1/forms/string/knowledge/string/file"
"string"