Get Agent
API Endpoint
To get Agent details, the API request is made to this endpoint:
Sample Request
curl -X GET \
https://kpi.knowlarity.com/Basic/v1/account/agent \
-H 'authorization: <authorization-key>' \
-H 'x-api-key: <x-api-key>'
Sample Response
{
"meta": {
"limit": "1000",
"next": "",
"offset": "0",
"previous": "",
"total_count": "2"
},
"objects": [
"krm_agent_id": ""
{
"phone": "90396XXXXX",
"country_code": "+91",
"status": "",
"email": "[email protected]",
"call_groups": [],
"role": "",
"wrap_up_time": [],
"first_name": "Sakshi Gupta",
"id": "1233857",
"opt_in": "1",
"last_name": "",
"sip_url_flag": "false",
"backup_number": "",
"is_active": "true",
"krm_agent_id": ""
}
]
}
Updated over 1 year ago