Reference for Webhook Event: When an Agent Replied

Comm100 Ticketing & Messaging Webhooks support both HTTP and HTTPS URLs. You will get the call back with the following properties when the When an Agent Replied event occurs.

The data is in JSON format. Here is the introduction of JSON.

Here is an example of When an Agent Replied event data.

 
{
  "SiteId": 10001,
  "TriggerId": "d7c150d4-1b12-47ef-b154-503410506f52",
  "TriggerName": "Agent Reply Webhook",
  "ChannelAccountId": "628cda1d-19b2-4c84-9e48-97c3e2d243c5",
  "ChannelId": "Telegram",
  "TicketInfo": {
    "Id": 547,
    "Subject": "hi check again",
    "AssigneeType": 1,
    "AssigneeId": "4df03754-9bc9-43ec-93c3-3ba64ec6c148",
    "DepartmentAssigneeId": "c8c2ff40-c667-47c5-84fa-c8feb90ea4de",
    "ContactOrVisitorType": 3,
    "ContactOrVisitorId": "7e552873-8c38-4d63-8a9b-4784ba557f13",
    "Status": 3,
    "Priority": 3,
    "IsReadByAgent": true,
    "IsReadByContact": false,
    "IfHasDraft": false,
    "MergedToTargetId": 0,
    "CreatedById": "00000000-0000-0000-0000-000000000000",
    "CreatedByType": 7,
    "CreatedTime": "2022-09-09T13:17:42.523Z",
    "LastUpdatedTime": "2022-09-09T14:25:41.44Z",
    "LastRepliedTime": "2022-09-09T14:25:41.38Z",
    "LastRepliedById": "4df03754-9bc9-43ec-93c3-3ba64ec6c148",
    "LastRepliedByType": 1,
    "LastStatusChangedTime": "2022-09-09T14:25:41.406Z",
    "TotalReplies": 2,
    "ResolvedTime": "1970-01-01T00:00:00Z",
    "ResolvedByType": 0,
    "ResolvedById": "00000000-0000-0000-0000-000000000000",
    "ReopenedTime": "1970-01-01T00:00:00Z",
    "OriginalConversationId": "444353229",
    "ChannelId": "Telegram",
    "ChannelAccountId": "628cda1d-19b2-4c84-9e48-97c3e2d243c5",
    "LastMessageId": "69857bfd-d1bd-41fc-8f99-9af374646cf0",
    "LastMessageChannelId": "Telegram",
    "LastMessageChannelAccountId": "628cda1d-19b2-4c84-9e48-97c3e2d243c5",
    "CustomFields": {
      "8086c96675144efaa3140762462a62d8": ""
    },
    "Tags": [],
    "TagIds": [],
    "IsInRecycleBin": false,
    "LastMessage": null,
    "Messages": null,
    "NoteMentions": [],
    "ContactOrVisitor": null,
    "FirstResponseTimeSpan": 4078,
    "ResponseTimeSpan": 4078,
    "ResolvedTimeSpan": 0,
    "ResponseCount": 1,
    "ReplyingAgent": 1
  },
  "ContactInfo": {
    "LastUpdatedTime": "2022-08-17T13:02:25Z",
    "CreateTime": "2022-08-17T13:02:25Z",
    "MergeToContactId": "00000000-0000-0000-0000-000000000000",
    "TimeZone": null,
    "PostalOrZipCode": null,
    "StateOrProvince": null,
    "City": null,
    "MailingAddress": null,
    "ContactIdentities": [
      {
        "Id": "0ba0b696-c2e4-46ba-ae13-d0b27de20430",
        "ContactId": "7e552873-8c38-4d63-8a9b-4784ba557f13",
        "ContactIdentityType": "Telegram",
        "Name": null,
        "Value": "5422878418_1703342905",
        "AvatarUrl": "https://ticketingfile.testing.comm100dev.io/fileservice/v1/files/EFXWh4CN_fTHr4D8TWc7_cH82-gCq8ueVGoH0ytkByOKd45PIDXboR9jsO2yRofBFgCVwQWjgiKsRkB0vEFvGwArwtK6VPo8sce09Vux6MaDZQjuwBB1IP5TbpxpPhOb6JZmMSFHjsOK5gVpV6sDJ2DzrioHUdtu9WPShnA8BZHQ",
        "InfoUrl": "",
        "ScreenName": null,
        "OriginalContactPageUrl": "",
        "IsDeleted": false
      }
    ],
    "Phone": null,
    "Company": null,
    "Title": null,
    "Alias": null,
    "LastName": "",
    "FirstName": "",
    "Description": null,
    "Name": "Anurag Chauhan",
    "Id": "7e552873-8c38-4d63-8a9b-4784ba557f13",
    "Fax": null,
    "IsDeleted": false
  },
  "EventInfo": {
    "eventType": "whenAnAgentReplied",
    "payload": {
      "replyMessageId": "69857bfd-d1bd-41fc-8f99-9af374646cf0",
      "replyMessageContent": "let me check it"
    }
  }
}