Create Trigger Integration

Create Trigger integration

post
/v1/integration/trigger/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

textstring

The text message to trigger the integration

sessionDurationnumber

The session duration (in milliseconds)

botIdstring

The ID of the bot this configuration is using

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

-H "Authorization: Bearer $CHATBOTKIT_API_SECRET" \

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

--data-binary @- << EOF {
"name":"string",
"description":"string",
"meta":"object",
"text":"string",
"sessionDuration":"number",
"botId":"string"
}
EOF
{
"id":"string"
}
The Trigger integration was created successfully