# This is used by Flex UI and Quality Management to fetch the Flex Insights roles for the user **GET /v1/Insights/UserRoles** This is used by Flex UI and Quality Management to fetch the Flex Insights roles for the user ## Servers - https://flex-api.twilio.com: https://flex-api.twilio.com () ## Authentication methods - Account sid auth token ## Parameters ### Headers - **Authorization** (string) The Authorization HTTP request header ## Responses ### 200 OK #### Headers - **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 #### Body: application/json (object) - **roles** (array[string] | null) Flex Insights roles for the user - **url** (string(uri) | null) [Powered by Bump.sh](https://bump.sh)