Skip to main content

Receive real-time call logs

Save call logs to Getfly

HTTP Request

POST {domain_crm}/api/callcenter/cdr

Body

ParameterDefaultDescription
domain_crmThe domain of the customer using Getfly CRM (provided by Getfly)
secretAuthentication code to connect to Getfly CRM (provided by Getfly)
phoneIncoming (outgoing) phone number
extensionExtension number receiving the incoming (outgoing) call
uuidUsed to uniquely identify the call
typeType of call, incoming or outgoing. Data is inbound
timeCall start time in the format (Y-m-d H:i:s)
durationCall duration in seconds
{
"phone": "0987654321",
"extension": 101,
"uuid": "34c7a9b9-d207-4200-9ebe-xxxxxxx",
"type": "inbound",
"time": "2020-08-17 08:08:10",
"duration": "18",
"status": "answered",
"recording": "https://pbx.call/app/report/download.php?id=34c7a9b9-xxxx&t=record",
"secret": "{secret}"
}