---
updatedAt: 2026-10-07T13:58:45.000Z
agentTools:
  projectIndex: https://developer.intellistack.com/llms.txt
---

# Get the brand membership users

Get the brand membership users

# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "Avatar": {
        "properties": {
          "contentType": {
            "description": "MIME type of the image",
            "type": "string"
          },
          "fileId": {
            "description": "File ID in the file upload service",
            "type": "string"
          },
          "height": {
            "description": "Display height in pixels",
            "type": "integer"
          },
          "sizeBytes": {
            "description": "File size in bytes",
            "format": "int64",
            "type": "integer"
          },
          "url": {
            "description": "Public URL of the avatar image",
            "type": "string"
          },
          "width": {
            "description": "Display width in pixels",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "GeneralError": {
        "properties": {
          "code": {
            "description": "Stable machine-readable error code, used by the FE to branch behavior. Present only for structured role errors. One of: SELF_ROLE_CHANGE_NOT_ALLOWED, ROLE_TARGET_OUTRANKS_ACTOR, ROLE_GRANT_EXCEEDED, ROLE_VERSION_CONFLICT, ROLE_LIMIT_EXCEEDED, ROLE_HAS_ASSIGNED_USERS, SYSTEM_ROLE.",
            "example": "ROLE_GRANT_EXCEEDED",
            "type": "string"
          },
          "detail": {
            "description": "Longer human-readable explanation for display. Present only for structured role errors.",
            "example": "This role includes permissions that exceed your own access level. You can't create, edit, or assign roles with permissions you don't have.",
            "type": "string"
          },
          "errors": {
            "additionalProperties": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "description": "Per-field validation details. Present only for structured role errors that originated as field-level violations (e.g. ROLE_LIMIT_EXCEEDED, ROLE_HAS_ASSIGNED_USERS, SYSTEM_ROLE); maps field name to a list of error codes.",
            "type": "object"
          },
          "message": {
            "description": "Basic error description. For structured role errors this equals the machine-readable `code`.",
            "example": "Something went wrong",
            "type": "string"
          },
          "title": {
            "description": "Short human-readable error headline for display. Present only for structured role errors.",
            "example": "You can't grant those permissions",
            "type": "string"
          },
          "traceId": {
            "description": "Trace ID for tracking back the issue",
            "example": "09f9aa68-4d89-465b-8d6d-41490fff7727",
            "type": "string"
          }
        }
      },
      "PageEnvelope": {
        "properties": {
          "number": {
            "deprecated": true,
            "description": "Renamed pageNumber for v1",
            "type": "integer"
          },
          "pageNumber": {
            "description": "The current page number",
            "type": "integer"
          },
          "pageSize": {
            "description": "How many elements are intended to be on each page",
            "type": "integer"
          },
          "size": {
            "description": "V0: acts same as pageSize. v1: How many elements are on this particular page",
            "type": "integer"
          },
          "totalElements": {
            "description": "The total number of elements accross all pages",
            "type": "integer"
          },
          "totalPages": {
            "description": "The total number of pages available",
            "type": "integer"
          }
        },
        "required": [
          "size"
        ],
        "type": "object"
      },
      "UserEffectiveRoleResponse": {
        "properties": {
          "assignmentVersion": {
            "format": "int64",
            "type": "integer"
          },
          "customRoleId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "customRoleKey": {
            "nullable": true,
            "type": "string"
          },
          "customRoleName": {
            "description": "Human-readable display name of the assigned custom role. Populated only when roleType is custom; null otherwise. Useful for rendering the role label without an extra lookup.",
            "nullable": true,
            "type": "string"
          },
          "roleType": {
            "description": "Read-only effective-role kind. The no-role/NONE value is a legacy/internal fallback emitted only when Core Services has no system or custom assignment for the user; clients cannot assign it through role assignment APIs.",
            "enum": [
              "system",
              "custom",
              "none"
            ],
            "type": "string"
          },
          "systemRole": {
            "enum": [
              "admin",
              "manager",
              "builder",
              "operator"
            ],
            "nullable": true,
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "userId",
          "roleType",
          "assignmentVersion"
        ],
        "type": "object"
      },
      "UserListingResponse": {
        "properties": {
          "content": {
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/UserListingUser"
                },
                {
                  "$ref": "#/components/schemas/UserListingUserBasic"
                }
              ],
              "title": "UserListingItem"
            },
            "type": "array"
          },
          "page": {
            "$ref": "#/components/schemas/PageEnvelope"
          }
        },
        "type": "object"
      },
      "UserListingUser": {
        "properties": {
          "avatarUrl": {
            "$ref": "#/components/schemas/Avatar"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "effectiveRole": {
            "$ref": "#/components/schemas/UserEffectiveRoleResponse"
          },
          "email": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "groupNames": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "invitationExpiresAt": {
            "description": "When the invitation expires (null if not an invite or already accepted)",
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "isDeactivated": {
            "description": "Whether the user has been deactivated",
            "type": "boolean"
          },
          "isInvitationExpired": {
            "description": "Whether the invitation has expired",
            "type": "boolean"
          },
          "isInvite": {
            "type": "boolean"
          },
          "lastLoginAt": {
            "format": "date-time",
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "role": {
            "description": "Legacy effective role string. System roles use their lowercase role name; custom roles use custom-<roleId>.",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "UserListingUserBasic": {
        "properties": {
          "email": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "lastName": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "firstName",
          "lastName",
          "email"
        ],
        "type": "object"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "bearerFormat": "JWT",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "API documentation for Core Services",
    "title": "User Management API",
    "version": "0.0.0"
  },
  "openapi": "3.0.0",
  "paths": {
    "/v1/brand-memberships/{brandId}/users": {
      "get": {
        "description": "Get the brand membership users",
        "operationId": "getBrandMembershipUsers",
        "parameters": [
          {
            "in": "path",
            "name": "brandId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "How many elements are intended to be on each page",
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The current page number",
            "in": "query",
            "name": "pageNumber",
            "required": false,
            "schema": {
              "default": 1,
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "Field by which the sorting should be applied",
            "in": "query",
            "name": "sortField",
            "required": false,
            "schema": {
              "default": "createdAt",
              "enum": [
                "id",
                "firstName",
                "lastName",
                "email",
                "createdAt",
                "lastLoginAt",
                "role"
              ],
              "type": "string"
            }
          },
          {
            "description": "Direction of the sorting (Ascending/Descending)",
            "in": "query",
            "name": "sortDirection",
            "required": false,
            "schema": {
              "default": "ASC",
              "enum": [
                "ASC",
                "DESC"
              ],
              "type": "string"
            }
          },
          {
            "description": "Search keyword",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Invitation status filter",
            "in": "query",
            "name": "invitationStatus",
            "required": false,
            "schema": {
              "default": "any",
              "enum": [
                "any",
                "invite",
                "accepted"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserListingResponse"
                }
              }
            },
            "description": "Successful operation"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GeneralError"
                }
              }
            },
            "description": "Invalid Paging Arguments"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get the brand membership users",
        "tags": [
          "Brand Memberships"
        ]
      }
    }
  },
  "servers": [
    {
      "description": "US Production Server",
      "url": "https://api-us.streamline.intellistack.ai"
    },
    {
      "description": "Canada Production Server",
      "url": "https://api-ca.streamline.intellistack.ai"
    }
  ]
}
```