You are on page 1of 2

FETCH AGENT LIST API

GET​ ​http://example.in/api/v1/fetchagent/

API SERVICE​ : REST

Response type​ ​: Text/plain (JSON String)

Parameters​:

PARAMETER DATA TYPE REQUIRED DESCRIPTION

caller_number String Optional Caller’s Number with


International Format number,
Eg +919999999999

called_number String Optional Knowlarity Number with


International Format number,
Eg +919999999999

call_uuid String/UUID Yes Alpha numberic string to


generated by knowlarity to
uniquely identify a call.
Responses​ :

Response type​ ​: Text/plain

Success:​ ​When every parameter is passed correctly.

{"status": "success", "agent_list": "+919999999991,+919999999992,+919999999993"}

Failure​ :

1. Missed Parameters
{"status": "failure", "agent_list": "None", "error": "Missing Parameter ​called_number​"}

You might also like