This project is a sample custom interaction log that can be used with CIC for Salesforce and CIC for PureCloud
This blog post from Salesforce can be helpful for some background on custom interaction logs https://www.salesforce.com/blog/2012/02/custominteractionlog.html.
API documentation on the CTI APIs from Salesforce can be found here: https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_methods_cti.htm
The CAD will return data similar to this object
{
"id": "1001760876",
"isConnected": "false",
"state": "Initializing",
"direction": "outbound",
"interactionType": "Call",
"name":"Test Name",
"number":"5555555"
}