Commit451/skyhook

Support for Zoho Assist

patricktobias86 opened this issue · 0 comments

Zoho Assist have two different type of webhooks:

Remote Support:

{
  "payload": {
    "sessionId": 937974381,
    "title": "On Demand Remote Support 937974381",
    "startTime": 1481369000053,
    "endTime": 1481369155546,
    "duration": 155493,
    "notes": "VPN issue",
    "chatTranscript": "https://assist.zoho.com/api/v1/chat/export?sysid=16474156125",
    "participants": [
      {
        "email": "david@zylker.com",
        "role": "Primary Technician",
        "os": "Windows",
        "region": "Florida",
        "country": "America",
        "duration": 155493
      },
      {
        "email": "mark.k@gmail.com",
        "role": "Customer",
        "os": "Windows",
        "region": "Florida",
        "country": "America",
        "duration": 155493
      }
    ]
  },
  "eventType": "SESSION_END_RS",
  "eventTime": "1688928870551",
  "eventBy": "op@primeupyour.life",
  "orgId": "815262805"
}

Unattended access:

{
  "payload": {
    "creatorEmail": "texas@texas.com",
    "sessionId": "963557549",
    "title": "On Demand Remote Access #963557549",
    "department": "PЯIMΞ",
    "deviceName": "PRIME",
    "deviceFullName": "PRIME",
    "devicePlatform": "windows",
    "deviceOs": "Windows 11 Pro",
    "deviceOsVersion": "6.3"
  },
  "eventType": "SESSION_START_URS",
  "eventTime": "1688874296857",
  "eventBy": "texas@texas.com",
  "orgId": "815262805"
}

Event Types:

Webhook Events Event Type
Outbound Session Start OUTBOUND_SESSION_START_RS
Session Start - Screen Share SESSION_START_SS
Session End - Remote Support SESSION_END_RS
Session End - Screen Share SESSION_END_SS
Customer Join - Remote Support CUSTOMER_JOIN_RS
Inbound Request Create INBOUND_REQUEST_CREATE
Inbound Request Transfer INBOUND_REQUEST_TRANSFER
Inbound Request Delegate INBOUND_REQUEST_DELEGATE
Inbound Request Picked INBOUND_REQUEST_PICKED
Inbound Request Declined INBOUND_REQUEST_DECLINED
Inbound Request Dropped INBOUND_REQUEST_DROPPED
Inbound Request Expired INBOUND_REQUEST_EXPIRED
Device Add DEVICE_ADD
Device Online DEVICE_ONLINE
Device Offline DEVICE_OFFLINE
Device Delete DEVICE_DELETE
Session Start SESSION_START
Session End SESSION_END