Skip to content

Teams

The TeamsClient provides access to Modrinth teams and their members.

Access it through the main Modrinth client:

modrinth.teams()

Fetch a team by its ID:

Team team = modrinth.teams().get("team-id");

Fetch multiple teams at once:

List<Team> teams = modrinth.teams().getMany(
"team-id-1",
"team-id-2"
);

Fetch all members of a team:

List<TeamMember> members = modrinth.teams().members("team-id");