Perform Handover

Perform a handover.

Headers

Path Parameter

Payload

Example Call

curl "http://localhost:3000/api/apps/public/646b8e7d-f1e1-419e-9478-10d0f5bc74d9/incoming" \
-X POST \
-H "Content-Type: application/json" 
-d "  {
      "action": "close-chat",
      "sessionId": "2Sfq8wXw4fYPMf6r4"
  }" 

Example Result

Success

 {
      "msg": "Perform Handover request handled successfullyy",

  }

Error

Any of the following errors can occur on the endpoint.

  • Authorization: Requires an authentication token for the request to be made.

{
    "status": "error",
    "message": "You must be logged in to do this."
}

Change Log

Last updated

Rocket.Chat versions receive support for six months after release.