v19

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-037759134.1 KB
teams

Get a project's team members

get/project/{id|slug}/members

Response

Expected response to a valid request

team_idstring required

The ID of the team this team member is a member of

rolestring required

The user's role on the team

permissionsinteger

The user's permissions in bitfield format (requires authorization to view)

In order from first to tenth bit, the bits are:

  • UPLOAD_VERSION
  • DELETE_VERSION
  • EDIT_DETAILS
  • EDIT_BODY
  • MANAGE_INVITES
  • REMOVE_MEMBER
  • EDIT_MEMBER
  • DELETE_PROJECT
  • VIEW_ANALYTICS
  • VIEW_PAYOUTS
acceptedboolean required

Whether or not the user has accepted to be on the team (requires authorization to view)

payouts_splitinteger

The split of payouts going to this user. The proportion of payouts they get is their split divided by the sum of the splits of all members.

orderinginteger

The order of the team member.

Example response

[
  {
    "team_id": "MMNNOOPP",
    "user": {
      "username": "my_user",
      "name": "My User",
      "bio": "My short biography",
      "payout_data": {
        "payout_wallet": "paypal",
        "payout_wallet_type": "email",
        "payout_address": "support@modrinth.com"
      },
      "id": "EEFFGGHH",
      "avatar_url": "https://avatars.githubusercontent.com/u/11223344?v=1",
      "role": "developer",
      "badges": 63,
      "auth_providers": [
        "github",
        "gitlab",
        "steam",
        "microsoft",
        "google",
        "discord"
      ]
    },
    "role": "Member",
    "permissions": 127,
    "accepted": true,
    "payouts_split": 100
  }
]