Overview

Events are how Glassix can communicate with your systems. Events are meant to trigger actions in your system or functions, such as Ticket documentation, Creating a new Ticket, and more. Webhooks will be sent to the endpoint you define via Post request in real time. If you can't receive requests in real-time, you can use polling via Get Requests. For more information on configuring your Webhooks, read here.

Event Types

Ticket State Change

{ "key": "00000000-0000-0000-0000-000000000000", "dateTime": "2018-11-25T14:17:57.4865353Z", "changes": [ { "_event": "TICKET_STATE_CHANGE", "ticketId": 137694, "ticketState": "Closed", "ticket": { "id": 7638788, "departmentId": "00000000-0000-0000-0000-000000000000", "field1": "Tuscany vacation", "field2": "4448 Badger Pond Lane, Bridgeville", "field3": "15017", "field4": "724-986-9436", "field5": "", "field6": "", "field7": "", "field8": "", "field9": "", "field10": "", "culture": "en-US", "ticketType": "Regular", "tags": [ "Sales" ], "owner": { "id": "00000000-0000-0000-0000-000000000000", "gender": "Female", "UserName": "christopher.meador@gmail.com", "culture": "en-US", "isAnonymous": false, "uniqueArgument": "", "type": "AGENT" }, "state": "Open", "open": "2021-03-16T14:17:31.3567578Z", "close": "0001-01-01T00:00:00", "lastActivity": "2018-11-27T16:42:53.15", "uniqueArgument": "", "participants": [ { "id": 1, "name": "Peggy D Smith", "displayName": "", "protocolType": "Web", "subProtocolType": "Undefined", "isActive": true, "isDeleted": false, "identifier": "00000000-0000-0000-0000-000000000000", "departmentIdentifier": "", "type": "Client", "contactId": "00000000-0000-0000-0000-000000000000", "userName": "" }, { "id": 2, "name": "Christopher A Meador", "displayName": "Christopher", "protocolType": "Web", "subProtocolType": "Undefined", "isActive": true, "isDeleted": false, "identifier": "00000000-0000-0000-0000-000000000000", "departmentIdentifier": "", "type": "User", "contactId": "00000000-0000-0000-0000-000000000000", "userName": "christopher.meador@gmail.com" } ], "details": { "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36", "iPAddress": "16.35.197.175", "location": "Bridgeville, Pennsylvania", "isMobile": false, "source": { "title": "Tuscany vacation", "uri": "https://www.example.com/tuscany_vacation" }, "referral": { "utmParameters": { "utm_source": "google", "utm_medium": "cpc", "utm_campaign": "spring_sale", "utm_content": "running+shoes", "utm_term": "logolink" }, "adId": "", "adTitle": "", "productId": "", "refData": "", "fbPostId": "" } }, "primaryProtocolType": "FBmessenger", "movedToTicketId": 0, "movedToDepartmentId": "00000000-0000-0000-0000-000000000000", "firstCustomerMessageDateTime": "2022-08-18T15:04:43Z", "firstAgentMessageDateTime": "2022-08-21T08:19:55Z", "firstAgentMessageUserId": "aca76a89-8950-4424-b727-2f277c24a891", "lastCustomerMessageDateTime": "2022-08-18T15:06:16Z", "queueTimeGross": "00:00:00", "queueTimeNet": "00:00:00", "firstAgentResponseTimeGross": "2.17:13:35", "firstAgentResponseTimeNet": "2.17:13:35", "agentAssignToResponseTimeGross": "2.17:13:36", "agentAssignToResponseTimeNet": "2.17:13:36", "agentMediaCount": 0, "customerMediaCount": 0, "agentMessagesCount": 1, "customerMessagesCount": 4, "durationNet": "2.17:21:51", "durationGross": "2.17:21:51", "agentResponseAverageTimeNet": "16:18:28", "agentCannedRepliesCount": 0, "botConversationId": "c39d25d1-fe37-42d7-a653-1c9093deade2", "dynamicParameters": [ { "id": "00000000-0000-0000-0000-000000000000", "flowId": "00000000-0000-0000-0000-000000000000", "name": "Example", "boolValue": false, "numValue": 0, "intValue": 0, "type": "Number", "creationDatetime": "2022-06-23T09:01:41Z" } ] } } ] }

New Ticket

{ "key": "00000000-0000-0000-0000-000000000000", "dateTime": "2018-11-25T14:10:39.1744945Z", "changes": [ { "_event": "NEW_TICKET", "ticketId": 7638788, "ticket": { "id": 7638788, "departmentId": "00000000-0000-0000-0000-000000000000", "field1": "Tuscany vacation", "field2": "4448 Badger Pond Lane, Bridgeville", "field3": "15017", "field4": "724-986-9436", "field5": "", "field6": "", "field7": "", "field8": "", "field9": "", "field10": "", "culture": "en-US", "ticketType": "GlassixBot", "tags": [ "Sales" ], "owner": { "id": "00000000-0000-0000-0000-000000000000", "gender": "Female", "UserName": "christopher.meador@gmail.com", "culture": "en-US", "isAnonymous": false, "uniqueArgument": "", "type": "AGENT" }, "state": "Open", "open": "2021-03-16T14:17:31.3567578Z", "close": "0001-01-01T00:00:00", "uniqueArgument": "", "participants": [ { "id": 1, "name": "Peggy D Smith", "displayName": "", "protocolType": "Web", "subProtocolType": "Undefined", "isActive": true, "isDeleted": false, "identifier": "00000000-0000-0000-0000-000000000000", "departmentIdentifier": "", "type": "Client", "contactId": "00000000-0000-0000-0000-000000000000", "userName": "" }, { "id": 2, "name": "Christopher A Meador", "displayName": "Christopher", "protocolType": "Web", "subProtocolType": "Undefined", "isActive": true, "isDeleted": false, "identifier": "00000000-0000-0000-0000-000000000000", "departmentIdentifier": "", "type": "User", "contactId": "00000000-0000-0000-0000-000000000000", "userName": "christopher.meador@gmail.com" } ], "details": { "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36", "iPAddress": "16.35.197.175", "location": "Bridgeville, Pennsylvania", "isMobile": false, "source": { "title": "Tuscany vacation", "uri": "https://www.example.com/tuscany_vacation" }, "referral": { "utmParameters": { "utm_source": "google", "utm_medium": "cpc", "utm_campaign": "spring_sale", "utm_content": "running+shoes", "utm_term": "logolink" }, "adId": "", "adTitle": "", "productId": "", "refData": "", "fbPostId": "" } }, "primaryProtocolType": "Web", "movedToTicketId": 0, "movedToDepartmentId": "00000000-0000-0000-0000-000000000000", "queueTimeGross": "00:00:00", "queueTimeNet": "00:00:00", "firstAgentResponseTimeGross": "00:00:00", "firstAgentResponseTimeNet": "00:00:00", "agentMediaCount": 0, "customerMediaCount": 0, "agentMessagesCount": 0, "customerMessagesCount": 0, "durationNet": "00:00:00", "durationGross": "00:00:00", "agentResponseAverageTimeNet": "00:00:00", "agentCannedRepliesCount": 0, "botConversationId": "00000000-0000-0000-0000-000000000000" } } ] }

Ticket Tags Change

{ "key": "00000000-0000-0000-0000-000000000000", "dateTime": "2018-11-25T14:10:39.1744945Z", "changes": [ { "_event": "TICKET_TAGS_CHANGE", "ticketId": 7638788, "ticket": { "id": 7638788, "departmentId": "00000000-0000-0000-0000-000000000000", "field1": "Tuscany vacation", "field2": "4448 Badger Pond Lane, Bridgeville", "field3": "15017", "field4": "724-986-9436", "field5": "", "field6": "", "field7": "", "field8": "", "field9": "", "field10": "", "culture": "en-US", "ticketType": "Regular", "tags": [ "Sales", "Example" ], "owner": { "id": "00000000-0000-0000-0000-000000000000", "gender": "Female", "UserName": "christopher.meador@gmail.com", "culture": "en-US", "isAnonymous": false, "uniqueArgument": "", "type": "AGENT" }, "state": "Open", "open": "2021-03-16T14:17:31.3567578Z", "close": "0001-01-01T00:00:00", "lastActivity": "2018-11-27T16:42:53.15", "uniqueArgument": "", "participants": [ { "id": 1, "name": "Peggy D Smith", "displayName": "", "protocolType": "Web", "subProtocolType": "Undefined", "isActive": true, "isDeleted": false, "identifier": "00000000-0000-0000-0000-000000000000", "departmentIdentifier": "", "type": "Client", "contactId": "00000000-0000-0000-0000-000000000000", "userName": "" }, { "id": 2, "name": "Christopher A Meador", "displayName": "Christopher", "protocolType": "Web", "subProtocolType": "Undefined", "isActive": true, "isDeleted": false, "identifier": "00000000-0000-0000-0000-000000000000", "departmentIdentifier": "", "type": "User", "contactId": "00000000-0000-0000-0000-000000000000", "userName": "christopher.meador@gmail.com" } ], "details": { "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36", "iPAddress": "16.35.197.175", "location": "Bridgeville, Pennsylvania", "isMobile": false, "source": { "title": "Tuscany vacation", "uri": "https://www.example.com/tuscany_vacation" }, "referral": { "utmParameters": { "utm_source": "google", "utm_medium": "cpc", "utm_campaign": "spring_sale", "utm_content": "running+shoes", "utm_term": "logolink" }, "adId": "", "adTitle": "", "productId": "", "refData": "", "fbPostId": "" } }, "primaryProtocolType": "Web", "movedToTicketId": 0, "movedToDepartmentId": "00000000-0000-0000-0000-000000000000", "queueTimeGross": "00:00:00", "queueTimeNet": "00:00:00", "firstAgentResponseTimeGross": "00:00:00", "firstAgentResponseTimeNet": "00:00:00", "agentMediaCount": 0, "customerMediaCount": 0, "agentMessagesCount": 0, "customerMessagesCount": 0, "durationNet": "00:00:00", "durationGross": "00:00:00", "agentResponseAverageTimeNet": "00:00:00", "agentCannedRepliesCount": 0 } } ] }

Ticket Owner Change

{ "key": "00000000-0000-0000-0000-000000000000", "dateTime": "2018-11-25T14:20:28.4452554Z", "changes": [ { "_event": "TICKET_OWNER_CHANGE", "ticketId": 137694, "ownerId": "00000000-0000-0000-0000-000000000000", "ownerUserName": "JaneMark@Gmail.com", "ticket": { "id": 7638788, "departmentId": "00000000-0000-0000-0000-000000000000", "field1": "Tuscany vacation", "field2": "4448 Badger Pond Lane, Bridgeville", "field3": "15017", "field4": "724-986-9436", "field5": "", "field6": "", "field7": "", "field8": "", "field9": "", "field10": "", "culture": "en-US", "ticketType": "Regular", "tags": [ "Sales" ], "owner": { "id": "00000000-0000-0000-0000-000000000000", "gender": "Female", "UserName": "JaneMark@Gmail.com", "culture": "en-US", "isAnonymous": false, "uniqueArgument": "", "type": "AGENT" }, "state": "Open", "open": "2021-03-16T14:17:31.3567578Z", "close": "0001-01-01T00:00:00", "lastActivity": "2018-11-27T16:42:53.15", "uniqueArgument": "", "participants": [ { "id": 1, "name": "Peggy D Smith", "displayName": "", "protocolType": "Web", "subProtocolType": "Undefined", "isActive": true, "isDeleted": false, "identifier": "00000000-0000-0000-0000-000000000000", "departmentIdentifier": "", "type": "Client", "contactId": "00000000-0000-0000-0000-000000000000", "userName": "" }, { "id": 2, "name": "Christopher A Meador", "displayName": "Christopher", "protocolType": "Web", "subProtocolType": "Undefined", "isActive": true, "isDeleted": false, "identifier": "00000000-0000-0000-0000-000000000000", "departmentIdentifier": "", "type": "User", "contactId": "00000000-0000-0000-0000-000000000000", "userName": "christopher.meador@gmail.com" }, { "id": 3, "name": "Jane Mark", "displayName": "Jane", "protocolType": "Web", "subProtocolType": "Undefined", "isActive": true, "isDeleted": false, "identifier": "00000000-0000-0000-0000-000000000000", "departmentIdentifier": "", "type": "User", "contactId": "00000000-0000-0000-0000-000000000000", "userName": "JaneMark@Gmail.com" } ], "details": { "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36", "iPAddress": "16.35.197.175", "location": "Bridgeville, Pennsylvania", "isMobile": false, "source": { "title": "Tuscany vacation", "uri": "https://www.example.com/tuscany_vacation" }, "referral": { "utmParameters": { "utm_source": "google", "utm_medium": "cpc", "utm_campaign": "spring_sale", "utm_content": "running+shoes", "utm_term": "logolink" }, "adId": "", "adTitle": "", "productId": "", "refData": "", "fbPostId": "" } }, "primaryProtocolType": "Web", "movedToTicketId": 0, "movedToDepartmentId": "00000000-0000-0000-0000-000000000000", "firstCustomerMessageDateTime": "2022-08-18T15:04:43Z", "firstAgentMessageDateTime": "2022-08-21T08:19:55Z", "firstAgentMessageUserId": "aca76a89-8950-4424-b727-2f277c24a891", "lastCustomerMessageDateTime": "2022-08-18T15:06:16Z", "queueTimeGross": "00:00:00", "queueTimeNet": "00:00:00", "firstAgentResponseTimeGross": "2.17:13:35", "firstAgentResponseTimeNet": "2.17:13:35", "agentAssignToResponseTimeGross": "2.17:13:36", "agentAssignToResponseTimeNet": "2.17:13:36", "agentMediaCount": 0, "customerMediaCount": 0, "agentMessagesCount": 1, "customerMessagesCount": 4, "durationNet": "2.17:21:51", "durationGross": "2.17:21:51", "agentResponseAverageTimeNet": "16:18:28", "agentCannedRepliesCount": 0, "botConversationId": "c39d25d1-fe37-42d7-a653-1c9093deade2", "dynamicParameters": [ { "id": "00000000-0000-0000-0000-000000000000", "flowId": "00000000-0000-0000-0000-000000000000", "name": "Example", "boolValue": false, "numValue": 0, "intValue": 0, "type": "Number", "creationDatetime": "2022-06-23T09:01:41Z" } ] } } ] }

Ticket Fields Change

{ "key": "00000000-0000-0000-0000-000000000000", "dateTime": "2018-11-25T14:20:28.4452554Z", "changes": [ { "_event": "TICKET_FIELDS_CHANGE", "ticketId": 137694, "ticket": { "id": 67106, "departmentId": "00000000-0000-0000-0000-000000000000", "field1": "Example", "field2": "", "field3": "", "field4": "", "field5": "", "field6": "", "field7": "", "field8": "", "field9": "", "field10": "", "culture": "he-IL", "ticketType": "Regular", "tags": [], "owner": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "gender": "Undefined", "UserName": "jayne.wick@glassix.com", "culture": "en-US", "isAnonymous": false, "uniqueArgument": "string", "type": "AGENT" }, "state": "Open", "open": "2022-08-21T08:30:52Z", "close": "0001-01-01T00:00:00", "lastActivity": "2022-08-21T08:30:52Z", "uniqueArgument": "", "participants": [ { "id": 1, "name": "John Wick", "displayName": "", "protocolType": "WhatsApp", "subProtocolType": "Undefined", "isActive": true, "isDeleted": false, "identifier": "12122001127", "departmentIdentifier": "12029550133", "type": "Client", "contactId": "7a10856d-6d27-4a2a-a8e9-641d26566dab", "userName": "" }, { "id": 2, "name": "Christopher A Meador", "displayName": "Christopher", "protocolType": "Web", "subProtocolType": "Undefined", "isActive": true, "isDeleted": false, "identifier": "00000000-0000-0000-0000-000000000000", "departmentIdentifier": "", "type": "User", "contactId": "00000000-0000-0000-0000-000000000000", "userName": "christopher.meador@gmail.com" } ], "details": { "userAgent": "", "iPAddress": "", "location": "", "source": { "title": "" }, "isMobile": false, "referral": { "adId": "", "adTitle": "", "refData": "", "productId": "", "fbPostId": "", "instagramStoryId": "", "appleIntentId": "", "appleGroupId": "", "twitterRootTweetId": "" } }, "primaryProtocolType": "WhatsApp", "movedToTicketId": 0, "movedToDepartmentId": "00000000-0000-0000-0000-000000000000", "queueTimeGross": "00:00:00", "queueTimeNet": "00:00:00", "firstAgentResponseTimeGross": "00:00:00", "firstAgentResponseTimeNet": "00:00:00", "agentMediaCount": 0, "customerMediaCount": 0, "agentMessagesCount": 0, "customerMessagesCount": 0, "durationNet": "00:00:00", "durationGross": "00:00:00", "agentResponseAverageTimeNet": "00:00:00", "agentCannedRepliesCount": 0, "botConversationId": "00000000-0000-0000-0000-000000000000" }, "field1": "Example", "field2": "", "field3": "", "field4": "", "field5": "", "field6": "", "field7": "", "field8": "", "field9": "", "field10": "" } ] }

User Status Change

{ "key": "00000000-0000-0000-0000-000000000000", "dateTime": "2018-11-25T14:24:12.3750814Z", "changes": [ { "_event": "USER_STATUS_CHANGE", "userId": "00000000-0000-0000-0000-000000000000", "userName": "user@example.com", "userStatus": "Break", "doNotDisturb" : false } ] }

New Message

{ "key": "00000000-0000-0000-0000-000000000000", "dateTime": "2018-11-25T14:26:58.994518Z", "changes": [ { "_event": "NEW_MESSAGE", "ticketId": 137694, "transaction": { "id": 2139646, "dateTime": "2018-11-25T14:26:57.9403362Z", "fromProtocolType": "Web", "type": "Message", "text": "Hi", "html": "<head></head><body><p>Hi</p></body>", "status": "Pending", "fromParticipant": { "id": 3, "name": "John Wick", "displayName": "John", "protocolType": "Web", "subProtocolType": "Undefined", "isActive": true, "isDeleted": false, "identifier": "00000000-0000-0000-0000-000000000000", "type": "User" }, "attachments": [ { "id": 1557, "type": "Image", "fileIdentifier": "201118135610uploadedimageklapzqep.jpg", "originalFileName": "UPLOADED_IMAGE.jpg", "thumbnails": [ "https://glassix-test.s3.eu-central-1.amazonaws.com/thumbnail_201118135610uploadedimageklapzqep.jpg?X-Amz-Expires=10800&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJIFZS27UMTE47NXA/20181120/eu-central-1/s3/aws4_request&X-Amz-Date=20181120T140436Z&X-Amz-SignedHeaders=host&X-Amz-Signature=766df921e38312c96621e63150df3143a4570c532670404ce6ba2982886c69ca" ], "uri": "https://glassix-test.s3.eu-central-1.amazonaws.com/201118135610uploadedimageklapzqep.jpg?X-Amz-Expires=10800&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJIFZS27UMTE47NXA/20181120/eu-central-1/s3/aws4_request&X-Amz-Date=20181120T140436Z&X-Amz-SignedHeaders=host&X-Amz-Signature=8b17ad1960aa0302b8071bbf0ac51dec0c79cacc2b9bec7ae9aff7ad1c337258", "isEmbedded": false } ] } } ] }

Document Signed

{ "key": "00000000-0000-0000-0000-000000000000", "dateTime": "2019-01-09T12:12:00.6752447Z", "changes": [ { "_event": "DOCUMENT_SIGNED", "ticketId": 16018, "document": { "attachmentId": 1833, "transactionId": 34196, "baseDocumentName": "020119143719newdeliverynotesignaturetesttenzhl0i.pdf", "baseDocumentUri": "https://glassix-test.s3.eu-central-1.amazonaws.com/020119143719newdeliverynotesignaturetesttenzhl0i.pdf?X-Amz-Expires=10800&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJIFZS27UMTE47NXA/20190109/eu-central-1/s3/aws4_request&X-Amz-Date=20190109T121158Z&X-Amz-SignedHeaders=host&X-Amz-Signature=dd46e4221e679fafc8385956708249eba356507b916ec6b5ad22b6f5b7ba418b", "latestDocumentFileName": "090119121155020119143719newdeliverynotesignaturetestqnldgqfi.pdf", "latestDocumentUri": "https://glassix-test.s3.eu-central-1.amazonaws.com/090119121155020119143719newdeliverynotesignaturetestqnldgqfi.pdf?X-Amz-Expires=10800&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJIFZS27UMTE47NXA/20190109/eu-central-1/s3/aws4_request&X-Amz-Date=20190109T121158Z&X-Amz-SignedHeaders=host&X-Amz-Signature=57536dce16f6c03cc3197bdb762f86841d3ba0883b73dfa0471dbca86fa105c2", "baseDocumentThumbnails": [ "020119143719newdeliverynotesignaturetesttenzhl0i.png" ], "baseDocumentThumbnailsUris": [ "https://glassix-test.s3.eu-central-1.amazonaws.com/020119143719newdeliverynotesignaturetesttenzhl0i.png?X-Amz-Expires=10800&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJIFZS27UMTE47NXA/20190109/eu-central-1/s3/aws4_request&X-Amz-Date=20190109T121158Z&X-Amz-SignedHeaders=host&X-Amz-Signature=3054d23056ef12ba0f03ce0cb65b4f24dfd53feba68e2582ba1f42a56fa160c5" ], "isLocked": true, "isCompleted": true, "latestDocumentThumbnails": [ "090119121155020119143719newdeliverynotesignaturetestqnldgqfi.png" ], "latestDocumentThumbnailsUris": [ "https://glassix-test.s3.eu-central-1.amazonaws.com/090119121155020119143719newdeliverynotesignaturetestqnldgqfi.png?X-Amz-Expires=10800&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJIFZS27UMTE47NXA/20190109/eu-central-1/s3/aws4_request&X-Amz-Date=20190109T121158Z&X-Amz-SignedHeaders=host&X-Amz-Signature=0023c1a12869ea00ae553cd20a4e976f9e8f6b901bae8c97d152b8b4d4187a90" ], "fields": [ { "id": 351, "parentId": 42, "name": "Signature", "title": "Sign here", "subtitle": "", "type": "Signature", "forParticipant": 1, "strValue": "090119121152signaturejjt6r2mi.png", "boolValue": false, "defaultValue": "", "isMandatory": true, "fillOrder": 0, "fieldParentID": 0, "validationPattern": "", "acceptedValues": [], "groupName": "" } ], "id": 42, "title": "Example document", "parentId": 41, "type": "Document" } } ] }

Non-Ticket Message Status

{ "key": "00000000-0000-0000-0000-000000000000", "dateTime": "2019-12-24T15:57:55.5656702Z", "changes": [ { "_event": "NON_TICKET_MESSAGE_STATUS", "message": { "text": "17:57", "protocolType": "SMS", "from": "972526267845", "to": "972543105415", "dateTime": "2019-12-24T15:57:49.468657Z", "providerMessageId": "00000000-0000-0000-0000-000000000000", "status": "Delivered", "serviceProvider": 2 } } ] }

Surveys Update

{ "key": "00000000-0000-0000-0000-000000000000", "dateTime": "2020-06-30T17:34:20.5872468Z", "changes": [ { "_event": "SURVEY_UPDATE", "ticketId": 26244, "participant": { "id": 1, "name": "Kloe Lacey", "displayName": "", "protocolType": "Web", "subProtocolType": "Undefined", "isActive": true, "isDeleted": false, "identifier": "", "departmentIdentifier": "", "type": "Client" }, "surveys": [ { "id": 1, "surveyId": 1, "title": "How satisfied are you with Glassix?", "value": "5", "questionType": "Rating" }, { "id": 2, "surveyId": 1, "title": "How was your interaction with support?", "value": "Great!", "questionType": "Text" } ] } ] }