Comm100 Ticketing & Messaging Webhooks support both HTTP and HTTPS URLs. You will get the call back with the following properties when the When a Ticket is Created event occurs.
The data is in JSON format. Here is the introduction of JSON.
Here is an example of When a Ticket is Created event data.
{
"SiteId": 10001,
"TriggerId": "8a0bb096-aba6-4e04-8b33-b2e2dc891c59",
"TriggerName": "Ticket Created Webhook",
"ChannelAccountId": "628cda1d-19b2-4c84-9e48-97c3e2d243c5",
"ChannelId": "Telegram",
"TicketInfo": {
"Id": 539,
"Subject": "hey there",
"AssigneeType": 1,
"AssigneeId": "00000000-0000-0000-0000-000000000000",
"DepartmentAssigneeId": "c8c2ff40-c667-47c5-84fa-c8feb90ea4de",
"ContactOrVisitorType": 3,
"ContactOrVisitorId": "7e552873-8c38-4d63-8a9b-4784ba557f13",
"Status": 1,
"Priority": 3,
"IsReadByAgent": false,
"IsReadByContact": false,
"IfHasDraft": false,
"MergedToTargetId": 0,
"CreatedById": "00000000-0000-0000-0000-000000000000",
"CreatedByType": 7,
"CreatedTime": "2022-09-09T05:50:10.993Z",
"LastUpdatedTime": "2022-09-09T05:50:12.456Z",
"LastRepliedTime": "2022-09-09T05:50:10.703Z",
"LastRepliedById": "7e552873-8c38-4d63-8a9b-4784ba557f13",
"LastRepliedByType": 3,
"LastStatusChangedTime": "2022-09-09T05:50:10.993Z",
"TotalReplies": 1,
"ResolvedTime": "1970-01-01T00:00:00Z",
"ResolvedByType": 0,
"ResolvedById": "00000000-0000-0000-0000-000000000000",
"ReopenedTime": "1970-01-01T00:00:00Z",
"OriginalConversationId": "444353223",
"ChannelId": "Telegram",
"ChannelAccountId": "628cda1d-19b2-4c84-9e48-97c3e2d243c5",
"LastMessageId": "484a5d2d-8f7d-4e73-9064-c6cff89fd298",
"LastMessageChannelId": "Telegram",
"LastMessageChannelAccountId": "628cda1d-19b2-4c84-9e48-97c3e2d243c5",
"CustomFields": {
"8086c96675144efaa3140762462a62d8": ""
},
"Tags": [],
"TagIds": [],
"IsInRecycleBin": false,
"LastMessage": null,
"Messages": null,
"NoteMentions": [],
"ContactOrVisitor": null,
"FirstResponseTimeSpan": 0,
"ResponseTimeSpan": 0,
"ResolvedTimeSpan": 0,
"ResponseCount": 0,
"ReplyingAgent": 0
},
"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": "whenTicketIsCreated"
}
}