GET /webapi/JNJP5UqGDhX/makecall?first=800&second=381629759787&contact=100&timeout=2000 HTTP/1.1
Host: api.3cx.eu
{
"chid": "00000000-01dc-27fa-d1eb-64b00000002e"
}
POST /webhooks/ HTTP/1.1
Host: crm.company.com
Content-Type: application/json
{
"event": "outgoing",
"callerid": "381629759787",
"user": "105",
"finishtype": "Missed",
"transfer": "False",
"breakside": "Undef",
"did": "",
"title": "Unanswered call to 381629759787",
"id": "250917194513_46-0",
"chid": "00000000-01dc-27fa-d1eb-64b00000002e",
"inbound_did": "381629759787",
"sip_displayname": "",
"phonebook": "",
"call_id1": "mf5zBO50gjyzLA3rLgaZkA..;from-tag=3510c33e;to-tag=2c2c4b61",
"call_id2": "a2c4c06a-21d7-4d43-b58c-db3871740d61;to-tag=59329b7a;from-tag=81865a8a-e9a9-4bf6-a597-9e496bfda25a",
"termination_reason_details": "declined",
"source_presentation": "381213220030"
}
POST /webhooks/ HTTP/1.1
Host: crm.company.com
Content-Type: application/json
{
"callerid": "381629759787",
"event": "pickupoutgoing",
"user": "105",
"did": "",
"trtype": "NotDef",
"id": "250917195359_47-1",
"chid": "00000000-01dc-27fc-0bdb-88fd0000002f",
"inbound_did": "",
"sip_displayname": "",
"phonebook": "",
"call_id1": "170f530d-7af4-4081-9af1-6c3d88afc411;to-tag=3d10a53b;from-tag=eca65e6e-efc4-436a-8bcf-041f27b8267c",
"call_id2": "0-I_xdErJxAvrSrfWr4eNA..;from-tag=ba2c291a;to-tag=as0775c705"
}
POST /webhooks/ HTTP/1.1
Host: crm.company.com
Content-Type: application/json
{
"FILES": [
"https://api.3cx.eu/webapi/recording/250917195359_47-1-1.mp3"
],
"event": "outgoing",
"callerid": "381629759787",
"user": "105",
"finishtype": "Ok",
"transfer": "False",
"breakside": "Internal",
"did": "",
"title": "Successful call to 381629759787 (0:05)",
"id": "250917195359_47-1",
"chid": "00000000-01dc-27fc-0bdb-88fd0000002f",
"inbound_did": "381629759787",
"sip_displayname": "",
"phonebook": "",
"call_id1": "MQdyDv4dHEvGFw8FZ6u49w..;from-tag=2950160b;to-tag=34643343",
"call_id2": "170f530d-7af4-4081-9af1-6c3d88afc411;to-tag=3d10a53b;from-tag=eca65e6e-efc4-436a-8bcf-041f27b8267c",
"termination_reason_details": "polling",
"source_presentation": "381213220030"
}
POST /webhooks/ HTTP/1.1
Host: crm.company.com
Content-Type: application/json
{
"event": "ai",
"id": "250917195359_47-1",
"summary": "Customer received a positive outbound call about a weekend swimming pool discount and accepted the offer.",
"transcription": "Hello this is the call center we have a special offer for you there is a weekend discount for the swimming pool would you like to take advantage. Yes that sounds great thank you very much. Wonderful have a nice day",
"sentiment_score": "5"
}