Downvote Bot

Downvote a bot

post
/v1/bot/{botId}/downvote

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

botIdstring* Required

The ID of the bot

Request Body * Required

Request Body Schema: application/json

valueinteger

The value of the downvote

curl -X POST "https://api.chatbotkit.com/v1/bot/{botId}/downvote" \

-H "Authorization: Bearer $CHATBOTKIT_API_SECRET" \

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

--data-binary @- << EOF {
"value":"integer"
}
EOF
{
"id":"string"
}
The message was downvoted successfully