Skip to main content
POST
/
v1alpha1
/
public
/
knowledge-base
/
document
Create kb document public api
curl --request POST \
  --url https://realtime.voiceflow.com/v1alpha1/public/knowledge-base/document \
  --header 'Content-Type: multipart/form-data' \
  --form 'data={
  "type": "url",
  "url": "<string>",
  "metadata": {},
  "name": "<string>",
  "refreshRate": "daily",
  "lastSuccessUpdate": "<string>",
  "accessTokenID": 123,
  "integrationExternalID": "<string>",
  "source": "zendesk"
}'
{
  "data": {
    "tags": [
      "<string>"
    ],
    "documentID": "<string>",
    "data": {
      "type": "csv",
      "name": "<string>",
      "rowsCount": 123
    },
    "updatedAt": "2023-11-07T05:31:56Z",
    "status": {
      "type": "ERROR",
      "data": "<unknown>"
    }
  }
}

Headers

content-type
string

The Content-Type header is used to indicate the media type of the resource

Body

multipart/form-data
data
object
required

Response

201 - application/json

Create kb document public api by provided info

data
object
required