teams-information

Get teams information by userId

Get company teams, team members, and team leaders by userId

get/teams-information/{id}

Request

  • Base URL: https://api.hoorayhr.io
  • URL: https://api.hoorayhr.io/teams-information/{id}
  • Auth: one of:
    • API key in header authorization
    • API key in header authorization

Path parameters

idinteger required

The user id

Response

A list of teams, and the roles of the user in each team

userIdnumber

The user id

teamIdnumber

The team id

teamNamestring

The team name

isLeaderboolean

Indicates if the user is a team leader

isMemberboolean

Indicates if the user is a team member

Example response

[
  {
    "userId": 1,
    "teamId": 1,
    "teamName": "Team 1",
    "isLeader": true
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.