List user team affiliations
Changed onReturns the user's active team memberships as a non-paginated list with a count and response timestamp - there is no cursor, limit, or sort parameter, and rows come back in storage order. Each row is an API-safe team summary plus the membership role, joinedAt, and the team's parent organization (null when the team has no organization). Only active memberships are included. Requires the target profile to be public or limited (a private profile returns 403); the requester always sees their own affiliations regardless of visibility. For any profile other than your own, only teams that belong to an organization with a public profile are returned - teams in a non-public-profile or organization-less context are omitted. Banned or unknown identifiers return 404. The identifier may be a username or a Convex user ID. Requires the users.profile:read scope.
Request
- Base URLhttps://teambattles.gg/api/v1
- URLhttps://teambattles.gg/api/v1/users/{identifier}/teams
- AuthHTTP bearer
Path parameters
Username or Convex user ID.
Response
User team affiliations.
Changes
- info
api tag
Playersadded - info
api tag
Usersremoved
- info
- info
endpoint added
- info