Light mode version of Land Your Home
V1Teams

Get Team Members

GET
/v1/teams/{teamId}/members

The active members of a team the user belongs to, named as they have chosen to be seen. id is stable for you and that person but is not their user id; an email they keep private is null. Sets teamMemberId to a member who is not the user.

Required variables:

  • baseUrl
  • apiKey (needs teams:read)
  • userToken
  • teamId (set by Get Teams)

Authorization

bearerAuth userTokenAuth
AuthorizationBearer <token>

Partner API key (lyh_...): identifies the calling partner, its scopes and rate limit.

In: header

X-User-Token<token>

The user's OAuth 2.1 access token, issued by Land Your Home's OAuth server to this partner's OAuth client. Requests run as this user.

In: header

Path Parameters

teamId*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/teams/string/members"
{  "data": [    {      "id": "a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3",      "you": false,      "role": "member",      "name": "Sam Taylor",      "email": "sam@example.com",      "licences": [        {          "id": "11c0de00-0000-4000-8000-000000000001",          "type": "pro_tier",          "active": true,          "used": true        }      ]    }  ],  "nextCursor": null}