Disposition Webhook

The Disposition Webhook is triggered every time an agent leaves a disposition.

{
  "data": {
    "disposition": "Note",
    "purpose": "",
    "dispositionExternalid": "",
    "purposeExternalid": "",
    "subject": "",
    "callType": "outgoing",
    "note": "",
    "businessid": "995",
    "userid": "107742",
    "phone": "+18084899319",
    "contactid": "",
    "dealid": "",
    "externalid": "0c79d4ba-e54f-44d9-bfc6-bc3f4dfd2e66",
    "callid": "368131317",
    "timezone": "America/Chicago",
    "powerlistId": "105192",
    "powerlistContactEmail": "",
    "callDetails": {
      "callid": "0c79d4ba-e54f-44d9-bfc6-bc3f4dfd2e66",
      "businessid": "995",
      "calldate": "2024-07-17 15:09:30",
      "fromnumber": "+15209993116",
      "tonumber": "+18084899319",
      "duration": null,
      "amount": null,
      "externalid": "0c79d4ba-e54f-44d9-bfc6-bc3f4dfd2e66",
      "calltype": "outgoing",
      "callstatus": "answered",
      "recordingurl": "https://calls.kixie.com/0c79d4ba-e54f-44d9-bfc6-bc3f4dfd2e66.mp3",
      "recordingsid": null,
      "tonumber164": "+18084899319",
      "fromnumber164": "+15209993116",
      "disposition": "Note",
      "fname": "Eddy",
      "lname": "Zone-7 (qa1)",
      "calleridName": "Eddy Zone-7",
      "email": "echau+n7@kixie.com",
      "destinationName": "PowerList",
      "cadenceactionprocessid": null,
      "powerlistid": "105192",
      "HScalltype": "outgoing",
      "powerlistsessionid": "1927544",
      "extensionDial": "0",
      "toExt": null,
      "fromExt": null,
      "answerDate": "2024-07-17 15:09:30",
      "callEndDate": null,
      "transcriptionXd": null,
      "transcriptionStatus": null,
      "transcriptionS3Key": null,
      "crmlink": "",
      "contactid": "",
      "dealid": "",
      "webhookurl": "https://webhook.site/dispowebhooktest",
      "outcome": "outgoing"
    },
    "activeCRM": {
      "meta": {
        "success": true
      },
      "result": {
        "crmName": "hubspot",
        "logo": "hubspot.png",
        "userAgent": "Kixie Integration - tech@kixie.com",
        "crmID": "16",
        "userid": "107742",
        "user": "",
        "token": "5571dba6-201b-4abf-acf7-9bbb8997767d",
        "refreshTokenExpiration": "",
        "pass": "",
        "accountid": "46741754",
        "location": "",
        "createdate": "2024-06-27 22:46:56",
        "updatedate": "",
        "errordate": "",
        "isActive": "1",
        "accessToken": "",
        "tokenupdate": "",
        "tokenvaliduntil": "",
        "externalEmail": "echau@kixie.com",
        "externalOwnerid": "67967150",
        "isDeleted": "0",
        "version": "",
        "customName": "",
        "customSearchEndpoint": "",
        "customDispositionEndpoint": "",
        "customActivityEndpoint": "",
        "customContactUpdateEndpoint": "",
        "customHeaders": "",
        "isAdmin": "0",
        "auditRequestId": "",
        "customDomainName": ""
      },
      "call": "call calls.getActiveCRM3(107742, 995);"
    },
    "powerlistContactDetails": {
      "result": {
        "powerlistContactId": "157727945",
        "powerlistId": "105192",
        "powerlistSpreadsheetId": "117646",
        "status": "enqueue",
        "rowNumber": "7",
        "phoneNumber": "18084899319",
        "phoneNumber164": "+18084899319",
        "email": "",
        "firstName": "Oahu",
        "lastName": "Kailua",
        "title": "",
        "companyName": "345 Hahani St, Kailua, HI 96734-2838",
        "externalOwnerId": "",
        "crmContactId": "",
        "targetTimeZone": "UTC-10",
        "attemptCount": "1",
        "lastAttemptDateTime": "2024-07-17 15:09:05",
        "retryAfterDateTime": "2024-07-17 15:12:37",
        "ownerUserId": "",
        "reservedForUserId": "",
        "reservedDate": "",
        "nextCallRefresher": "",
        "refresherCreatedBy": "107742",
        "refesherUpdateDateTime": "2024-07-17 15:09:37",
        "outcome": "",
        "outcomeCreatedBy": "107742",
        "outcomeUpdateDateTime": "2024-07-17 15:09:37",
        "ssData": "{}",
        "createdDate": "2024-07-17 15:07:59",
        "targetTimeZoneDst": "UTC-9",
        "dstStartDate": "2024-01-01 00:00:00",
        "dstEndDate": "2024-12-31 00:00:00",
        "dstNextUpdateTimestamp": "2024-12-31 00:00:00",
        "statAnswered": "0",
        "statConnected": "0",
        "statTalkTimeinSec": "7",
        "lastDialOutcome": "Answered - Note",
        "deferredReason": "Min. Duration Between Calls Applied",
        "machineDetected": "0",
        "machineNotDetected": "0",
        "mdAssisted": "0",
        "groupId": "6914f7a8-f5ae-4f97-876f-81cd751ec634",
        "auditRequestId": "7981"
      }
    },
    "hookevent": "disposition",
    "webhookurl": "https://webhook.site/dispowebhooktest",
    "webhookHeaders": null,
    "number": "+18084899319",
    "customernumber": "+18084899319",
    "businessnumber": "+15209993116"
  }
}