Moving chat back to queue

is there any api that can move chat back in queue?

1 Like

Hi!

There is a meteor method, and all methods you can call via rest api.

A nice way to basically discover any kind of API you want, by inspecting what API the UI will can for the actions, is to inspect the network calls of your browser while using the WEB UI.

This is the method it will call when you click on that button:

API ENDPOINT: http://localhost:3000/api/v1/method.call/livechat:returnAsInquiry
PAYLOAD EXAMPLE: {“message”:“{"msg":"method","id":"23","method":"livechat:returnAsInquiry","params":["KjiWyfYPmFpiZ4JNW"]}”}

Let me know if this helps!! THanks!