Get Next Agent Information

Get information about the next available agent for an incoming conversation. This endpoint returns the available agents who have not been assigned to any chat yet.

HTTP MethodURLRequires Auth




Path variables

KeyExample valueDescription

token *


The visitor token.

To get the token value, call the Get Rooms endpoint to retrieve the details of all rooms.

Example Call

curl --location 'http://localhost:3000/api/v1/livechat/'

Example Response

  "agent": {
    "_id": "7Gm3PoFCJWTCJ68XR",
    "emails": [
        "address": "",
        "verified": true
    "name": "Livechat Agent",
    "username": "livechat.agent"
  "success": true

Last updated

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