Fetch flex user for the given flex user sid

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_v2/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"flex_v2 MCP server": {
  "url": "https://twilio.demo.bump-doc.com/doc/flex_v2/mcp"
}
Close
GET /v2/Instances/{InstanceSid}/Users/{FlexUserSid}

Fetch flex user for the given flex user sid

Path parameters

  • InstanceSid string Required

    The unique ID created by Twilio to identify a Flex instance.

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

  • FlexUserSid string Required

    The unique id for the flex user to be retrieved.

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

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 unique SID of the account that created the resource.

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

    • instance_sid string | null

      The unique ID created by Twilio to identify a Flex instance.

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

    • user_sid string | null

      The unique SID identifier of the Twilio Unified User.

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

    • flex_user_sid string | null

      The unique SID identifier of the Flex User.

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

    • worker_sid string | null

      The unique SID identifier of the worker.

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

    • workspace_sid string | null

      The unique SID identifier of the workspace.

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

    • flex_team_sid string | null

      The unique SID identifier of the Flex Team.

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

    • username string | null

      Username of the User.

    • email string | null

      Email of the User.

    • locale string | null

      The locale preference of the user.

    • roles array[string] | null

      The roles of the user.

    • created_date string(date-time) | null

      The date that this user was created, given in ISO 8601 format.

    • updated_date string(date-time) | null

      The date that this user was updated, given in ISO 8601 format.

    • version integer

      The current version of the user.

      Default value is 0.

    • url string(uri) | null
GET /v2/Instances/{InstanceSid}/Users/{FlexUserSid}
curl \
 --request GET 'https://flex-api.twilio.com/v2/Instances/{InstanceSid}/Users/{FlexUserSid}' \
 --user "username:password"
Response examples (200)
{
  "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "instance_sid": "GOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "flex_user_sid": "FUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "user_sid": "USaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "worker_sid": "WKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "workspace_sid": "WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "flex_team_sid": "QOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "username": "username",
  "email": "sample@example.com",
  "locale": "en-US",
  "roles": [
    "agent"
  ],
  "created_date": "2024-07-31T04:00:00Z",
  "updated_date": "2024-07-31T04:00:00Z",
  "version": 1,
  "url": "https://flex-api.twilio.com/v2/Instances/GOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Users/FUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}