Knowladge Base


Method for Getting Call logs List This method returns the list of 100 records of Call logs per page in the form of an array. The user is required to give User ID, Password, DID Number, Date (ie: 2010-02-11), Order (ie: asc,desc ) and Page as arguments and he’ll get a list of 100 recent calls history. User can supply DID Number to 100 records of Call logs per page. If there is no Date is defined, then it will get current date, if there is no Order, then it will show Ascending order of records.


Example URL:


Example Code in PHP:


$curl_handle = curl_init();

$url = "";

curl_setopt($curl_handle, CURLOPT_URL, $url);

curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, true);

$curl_data = curl_exec($curl_handle);


$response_data = json_decode($curl_data);





Input Fields:

    1. UserID
    2. Password
    3. DID
    4. Date
    5. Order
    6. Page


Returned Fields:

    1. RingTo
    2. CallerID
    3. CalledNumber
    4. Trunck
    5. Disposition
    6. BillSeconds
    7. BillCost
    8. CallStart
    9. OrderID
    10. CallerIDName
    11. UniqueID
    12. FromIP
    13. TotalMinutes
    14. TalkTimeWas
    15. TalkTimeCut
    16. TalkTImeRemain
    17. MinutesTotalUsed
    18. CallStartFormated
    19. SystemBox


Error Codes:

In case of any incorrect information provided by the user or in case of no matching data, an error code will be returned. Error codes correspond to the following messages:

-1 = User ID does not exist.

-2 = In valid DID Number.

-3 = There are no Record found.

-4 = Invalid order requested to show.