Triggered in response to the getExitSurvey method.
Note: For more information on the Survey object see Surveys.
{
"survey": {
"id": 123345,
"title": "",
"questions": {
"question": [
{
"id": 1336725,
"order": 0,
"mandatory": true,
"validationType": "alpha_numeric",
"logicId": 1,
"label": "What was your experience?",
"lastKnownValue": "",
"type": "Text Field"
},
{
"id": 1337252,
"order": 1,
"mandatory": false,
"validationType": "numeric",
"logicId": 2,
"label": "How many points would you like?",
"lastKnownValue": "",
"type": "Text Field"
}
]
},
"header": "To help us serve you better, please provide some information before we begin your chat."
}
}