Skip to main content
GET
/
user-data
/
findUserInTeams
/
:userDataId
Find User in Teams
curl --request GET \
  --url https://www.api.baselink.tech/user-data/findUserInTeams/:userDataId \
  --header 'bearer: <api-key>'
{
  "teams": [
    {}
  ],
  "teams[].teamId": "<string>",
  "teams[].teamName": "<string>",
  "teams[].teamDescription": "<string>",
  "teams[].role": "<string>",
  "teams[].joinedAt": "<string>",
  "teams[].isActive": true
}
Find all teams that a specific user belongs to.
teams
array
Array of team objects that the user belongs to.
teams[].teamId
string
The unique identifier of the team.
teams[].teamName
string
The name of the team.
teams[].teamDescription
string
The description of the team.
teams[].role
string
The userโ€™s role within the team.
teams[].joinedAt
string
The timestamp when the user joined the team.
teams[].isActive
boolean
Whether the userโ€™s membership is active.