API is most commonly used for sending Lead information, but you can also perform searches, like within Call Logs, through API. We will walk through the steps for this process below.
Searching Call Logs via API
1.) Click the API main menu.
2.) Click the Call Logs menu option.
The Call Logs page will open on the Search Call Log tab.
The Search Call Logs section defines all the API commands you can use to narrow your search results.
Two sections provide an Example PHP Usage string and an Example JSON Response.
3.) Click the Test Request tab to run a test search.
4.) Configure the fields for your Search.
For example, to view Logs for a specific Lead, fill in their Identification number in the lead_id field.
|The start_time and end_time fields default to the date you run your Search. To view Call Logs from a different start or end date, you must specify these dates in these fields—example date and time format: 2015-09-01 00:00:00.|
5.) Click the green Run button.
6.) An Example JSON Response will appear in the corresponding section.
|The Search does not give equal importance to all the identifiers within the Call Log. Example: As long as the List ID is valid, the system will push the correct Lead information even if the Campaign ID is wrong.|
|The default max offset in a JSON Response is 40,000. If the Search finds more than 40,000, the return data offset will always be 40,000.|