• KB Home
  • API
  • edna Chat Center API for Bot Connect
  • Close Threads by Bot

Close Threads by Bot

The bot can close a thread in edna Chat Center by threadId. This operation is only allowed for the threads assigned to the bot.

Curl Example

$ curl 'http://localhost:8080/api/v1/chatbot/close/1' -i -X POST \
-H 'Authorization: Bearer <token>'

HTTP Request

POST /api/v1/chatbot/close/1 HTTP/1.1
Authorization: Bearer <token>
Host: localhost:8080

Example of a Successful HTTP Response

HTTP/1.1 200 OK
Chat History
Next Article Close Threads by Bot with Comment