Create Extract Integration

Create Extract integration

post
/v1/integration/extract/create

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Request Body * Required

Request Body Schema: application/json

namestring

The associated name

descriptionstring

The associated description

metaobject

Meta data information

botIdstring

The ID of the Bot to use

schemaobject

The configured extraction schema

requeststring

Optional webhook to receive the extracted data

curl -X POST "https://api.chatbotkit.com/v1/integration/extract/create" \

-H "Authorization: Bearer $CHATBOTKIT_API_SECRET" \

-H "Content-Type: application/json" \

--data-binary @- << EOF {
"name":"string",
"description":"string",
"meta":"object",
"botId":"string",
"schema":"object",
"request":"string"
}
EOF
{
"id":"string"
}
The Extract integration was created successfully