GET
/v1/Insights/QualityManagement/Settings/AnswerSets
curl \
--request GET 'https://flex-api.twilio.com/v1/Insights/QualityManagement/Settings/AnswerSets' \
--user "username:password" \
--header "Authorization: string"
Response examples (200)
{
"url": "https://flex-api.twilio.com/v1/Insights/QualityManagement/Settings/AnswerSets",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"answer_sets": [
{
"id": "a6a8a54f-5305-4aec-b92c-a6e429932f58",
"name": "Yes, No",
"sort": 0,
"type": "select",
"answers": [
{
"id": "4e34f701-8206-4670-b376-c9fe26bb3ca3",
"name": "Yes",
"sort": 0,
"score": 100,
"description": "Yes."
},
{
"id": "5e926651-fa5d-4aba-86e1-8440bb8faa6c",
"name": "No",
"sort": 1,
"score": 0,
"description": "No or a very poor."
}
],
"category_id": "1a8cac56-826c-4f85-ac14-9104811cf184"
},
{
"id": "675e8803-e7ca-4002-97f6-a29490450b1b",
"name": "Good, Poor",
"sort": 1,
"type": "select",
"answers": [
{
"id": "5aa6c6c0-05cf-4952-b9f9-9fdbe18cc79d",
"name": "Good",
"sort": 0,
"score": 100,
"description": "Good."
},
{
"id": "d19f1c36-8331-44cc-9944-e94cb39e35e9",
"name": "Poor",
"sort": 1,
"score": 0,
"description": "Poor."
}
],
"category_id": "1a8cac56-826c-4f85-ac14-9104811cf184"
}
],
"not_applicable": {
"id": "8dc58ae1-16ae-4e17-a357-799d06230fa3",
"name": "N/A",
"sort": 0,
"score": 0,
"description": "Not applicable for this call"
},
"answer_set_categories": [
{
"id": "1a8cac56-826c-4f85-ac14-9104811cf184",
"name": "Two Options",
"sort": 1
},
{
"id": "10c44902-0e6e-46b6-9378-d4665348b4b7",
"name": "Three Options",
"sort": 2
},
{
"id": "10c44902-0e6e-46b6-9378-d4665348b4b8",
"name": "Rating",
"sort": 3
}
]
}