Get Queue Information

Create Queue

Get Queue

API Endpoint

 GET https://kpi.knowlarity.com/Basic/v1/account/call-center/queue_init_info?user_id={user_id}

Sample Request

curl --location --request GET \
  'https://kpi.knowlarity.com/Basic/v1/account/call-center/queue_init_info?user_id=<user_id>' \
  --header 'Authorization: <authorization-key>' \
  --header 'x-api-key: <x-api-key>'

Sample Response

{
    "details": {
        "queues": [
            {
                "q_uuid": "f933f2ce-a828-420c-bfe5-f5d6ca5984ba",
                "name": "deepak-test"
            },
            {
                "q_uuid": "497728aa-ac44-4804-bf9d-fe01823694ba",
                "name": "deepak-test2"
            },
            {
                "q_uuid": "2fe398d0-2758-49fa-95d5-316c1076e058",
                "name": "New Call Group"
            },
            {
                "q_uuid": "70070f91-5010-46d7-9954-01e2473ef892",
                "name": "testing"
            }
        ],
        "agents": [
            {
                "status": "Available",
                "queue__name": "New Call Group",
                "contact_number": "+9191109XXXXX",
                "last_name": "kumar",
                "first_name": "Deepak",
                "queue": "2fe398d0-2758-49fa-95d5-316c1076e058",
                "cc_agent_id": "6cc36fcc-e2fe-4a59-9c25-0d60e68c8caa",
                "agent_type": "BLENDED",
                "agent_id": "1161831",
                "sip_url_flag": "False",
                "queue__dialer_type": "sequential"
            },
            {
                "status": "Logged Out",
                "queue__name": "testing",
                "contact_number": "+9188089XXXXX",
                "last_name": "",
                "first_name": "testsr",
                "queue": "70070f91-5010-46d7-9954-01e2473ef892",
                "cc_agent_id": "9dc72611-7077-4d81-aac3-bc8320a2d803",
                "agent_type": "BLENDED",
                "agent_id": "1203386",
                "sip_url_flag": "False",
                "queue__dialer_type": "sequential"
            },
            {
                "status": "Available",
                "queue__name": "testing",
                "contact_number": "+9198732XXXXX",
                "last_name": "",
                "first_name": "harsa",
                "queue": "70070f91-5010-46d7-9954-01e2473ef892",
                "cc_agent_id": "a436bfd3-887c-4b3a-89ca-3f242591f849",
                "agent_type": "BLENDED",
                "agent_id": "1267933",
                "sip_url_flag": "False",
                "queue__dialer_type": "sequential"
            },
            {
                "status": "Logged Out",
                "queue__name": null,
                "first_name": "vinay",
                "last_name": "kumar",
                "contact_number": "+9192342XXXXX",
                "queue": null,
                "cc_agent_id": "8fe26377-79aa-4566-9996-c8ec60765570",
                "agent_type": "INBOUND",
                "agent_id": "1265925",
                "sip_url_flag": "False"
            },
            {
                "status": "Available",
                "queue__name": null,
                "first_name": "nandini",
                "last_name": "gupta",
                "contact_number": "+9197236XXXXX",
                "queue": null,
                "cc_agent_id": "443a3fca-c6be-4cf7-966a-f0e319085d42",
                "agent_type": "BLENDED",
                "agent_id": "1267928",
                "sip_url_flag": "False"
            }
        ],
        "message": "successful"
    }
}