To get the Answer Set Settings for an Account

GET /v1/Insights/QualityManagement/Settings/AnswerSets

To get the Answer Set Settings for an Account

Headers

  • Authorization string

    The Authorization HTTP request header

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • account_sid string | null

      The SID of the Account that created the Flex Insights resource and owns this resource.

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

    • answer_sets

      The lis of answer sets

    • answer_set_categories

      The list of answer set categories

    • not_applicable

      The details for not applicable answer set

    • url string(uri) | null
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
    }
  ]
}