This is used by Flex UI and Quality Management to fetch the Flex Insights roles for the user

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/UserRoles

This is used by Flex UI and Quality Management to fetch the Flex Insights roles for the user

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
    • roles array[string] | null

      Flex Insights roles for the user

    • url string(uri) | null
GET /v1/Insights/UserRoles
curl \
 --request GET 'https://flex-api.twilio.com/v1/Insights/UserRoles' \
 --user "username:password" \
 --header "Authorization: string"
Response examples (200)
{
  "roles": [
    "wfo.full_access"
  ],
  "url": "https://flex-api.twilio.com/v1/Insights/UserRoles"
}