Create Slack Integration

Create Slack integration

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

signingSecretstring

The signing secret for the Slack integration

botTokenstring

The bot token for the Slack integration

sessionDurationnumber

The session duration for the Slack integration

visibleMessagesnumber

The number of visible messages outside of the new thread

botIdstring

The ID of the bot this configuration is using

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

-H "Authorization: Bearer $CHATBOTKIT_API_SECRET" \

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

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