Use this API to submit custom survey forms shown at the end of chat session by providing activity ID.
Only one activity id is supported at a time. Example 1001
SurveyForm schema
Array of objects (question) >= 0 items |
Success
Bad Request
Not Acceptable
Internal server error
{- "question": [
- {
- "value": "How would you rate the quality of the answers you received?",
- "answer": "4"
}, - {
- "value": "What about the speed with which we answered your questions?",
- "answer": "5"
}, - {
- "value": "How would you rate your overall chat experience?",
- "answer": "5"
}, - {
- "value": "surveyText",
- "answer": "It was a good experience."
}
]
}
{- "code": "400-152",
- "developerMessage": "Invalid value is provided in the request body for the following attribute:'<attribute_name>'."
}