To get all the question for the given categories

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://twilio.demo.bump-doc.com/doc/flex_v1/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"flex_v1 MCP server": {
  "url": "https://twilio.demo.bump-doc.com/doc/flex_v1/mcp"
}
Close
GET /v1/Insights/QualityManagement/Questions

To get all the question for the given categories

Headers

  • Authorization string

    The Authorization HTTP request header

Query parameters

  • CategorySid array[string]

    The list of category SIDs

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

  • PageSize integer(int64)

    How many resources to return in each list page. The default is 50, and the maximum is 1000.

    Minimum value is 1, maximum value is 1000.

  • Page integer

    The page index. This value is simply for client state.

    Minimum value is 0.

  • PageToken string

    The page token. This is provided by the API.

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
    • questions array[object]
      Hide questions attributes Show questions 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}$.

      • question_sid string | null

        The SID of the question

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

      • question string | null

        The question.

      • description string | null

        The description for the question.

      • category

        The Category for the question.

      • answer_set_id string | null

        The answer_set for the question.

      • allow_na boolean | null

        The flag to enable for disable NA for answer.

      • usage integer

        Integer value that tells a particular question is used by how many questionnaires

        Default value is 0.

      • answer_set

        Set of answers for the question

      • url string(uri) | null
    • meta object
      Hide meta attributes Show meta attributes object
      • first_page_url string(uri)
      • key string
      • next_page_url string(uri) | null
      • page integer
      • page_size integer
      • previous_page_url string(uri) | null
      • url string(uri)
GET /v1/Insights/QualityManagement/Questions
curl \
 --request GET 'https://flex-api.twilio.com/v1/Insights/QualityManagement/Questions' \
 --user "username:password" \
 --header "Authorization: string"
Response examples (200)
{
  "questions": [],
  "meta": {
    "page": 0,
    "page_size": 50,
    "first_page_url": "https://flex-api.twilio.com/v1/Insights/QualityManagement/Questions?CategorySid=FYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
    "previous_page_url": null,
    "url": "https://flex-api.twilio.com/v1/Insights/QualityManagement/Questions?CategorySid=FYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
    "next_page_url": null,
    "key": "questions"
  }
}
{
  "questions": [
    {
      "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "question": "What is the total time",
      "question_sid": "GEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "description": "time spent",
      "category": {
        "category_name": "test cat",
        "category_sid": "FYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
      },
      "answer_set_id": "a6a8a54f-5305-4aec-b92c-a6e429932f58",
      "allow_na": false,
      "usage": 0,
      "answer_set": {
        "sort": 0,
        "name": "Yes, No",
        "answers": [
          {
            "sort": 0,
            "score": 100,
            "description": "Yes.",
            "name": "Yes",
            "id": "4e34f701-8206-4670-b376-c9fe26bb3ca3"
          },
          {
            "sort": 1,
            "score": 0,
            "description": "No or a very poor.",
            "name": "No",
            "id": "5e926651-fa5d-4aba-86e1-8440bb8faa6c"
          }
        ],
        "category_id": "1a8cac56-826c-4f85-ac14-9104811cf184",
        "type": "select",
        "id": "a6a8a54f-5305-4aec-b92c-a6e429932f58"
      },
      "url": "https://flex-api.twilio.com/v1/Insights/QualityManagement/Questions/GEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
    }
  ],
  "meta": {
    "page": 0,
    "page_size": 50,
    "first_page_url": "https://flex-api.twilio.com/v1/Insights/QualityManagement/Questions?CategorySid=FYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
    "previous_page_url": null,
    "url": "https://flex-api.twilio.com/v1/Insights/QualityManagement/Questions?CategorySid=FYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
    "next_page_url": null,
    "key": "questions"
  }
}