List Team Members
    • Dark
      Light
    • PDF

    List Team Members

    • Dark
      Light
    • PDF

    Article summary

    Get
    /api/v1/teams.members

    List all members of a team.

    Header parameters
    X-Auth-Token
    stringRequired

    The authToken of the authenticated user.

    ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
    X-User-Id
    stringRequired

    The userId of the authenticated user.

    ExamplerbAXPnMktTFbNpwtJ
    Query parameters
    teamName
    string

    The team name. It is required if the teamId is not provided.

    Examplelivestream
    teamId
    string

    The team id. It is required if the teamName is not provided.

    Example63f3efc4b000b6b6d86704b2
    name
    string

    Search filter for the user's name

    Exampletest
    username
    string

    Search filter for the user's username

    Exampletest.user
    status
    array of string

    Search filter for the user's status

    Example["online", "away", "busy"]
    Responses
    200

    OK

    Example 1
    {
      "members": [
        {
          "user": {
            "_id": "rbAXPnMktTFbNpwtJ",
            "username": "roxie",
            "name": "test test",
            "status": "offline",
            "settings": {
              "preferences": {
                "themeAppearence": "light"
              },
              "profile": {}
            }
          },
          "roles": [
            "owner"
          ],
          "createdBy": {
            "_id": "rbAXPnMktTFbNpwtJ",
            "username": "test.test"
          },
          "createdAt": "2023-02-20T22:10:12.740Z"
        },
        {
          "user": {
            "_id": "5fRTXMt7DMJbpPJfh",
            "username": "test.test",
            "name": "Testtest",
            "status": "offline",
            "settings": {
              "profile": {}
            }
          },
          "createdBy": {
            "_id": "rbAXPnMktTFbNpwtJ",
            "username": "test.test"
          },
          "createdAt": "2023-07-11T00:23:01.346Z"
        }
      ],
      "total": 2,
      "count": 2,
      "offset": 0,
      "success": true
    }
    Expand All
    object
    members
    Array of object
    object
    user
    object
    _id
    string
    username
    string
    name
    string
    status
    string
    settings
    object
    preferences
    object
    themeAppearence
    string
    profile
    object
    roles
    Array of string
    string
    createdBy
    object
    _id
    string
    username
    string
    createdAt
    string
    total
    integer
    count
    integer
    offset
    integer
    success
    boolean

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.