branches
List branches with optional status/parent filters and search, returning member counts.
Use branchDetail for a single branch.
Auth · x-app-token · required permission showBranch
Related: branchDetail, Branch, Authentication
branches(ids: [String], excludeIds: Boolean, perPage: Int, page: Int, searchValue: String, status: String, onlyFirstLevel: Boolean, parentId: String, withoutUserFilter: Boolean): BranchListQueryResponseArguments
Restrict to these branch ids.
When true, ids excludes instead of includes.
Page size. See Pagination.
1-based page index. See Pagination.
Case-insensitive partial match on title.
Filter by lifecycle status.
When true, only return top-level branches (no parentId).
Restrict to direct children of this branch id.
When true, skip filtering branches by the caller's user scope.
Returns
Standard pagination metadata: totalCount, currentPage, totalPages,
hasNextPage, hasPreviousPage, perPage.
Total number of users across all matching branches.