Light mode version of Land Your Home
V1Teams

Post Team Member Invite

POST
/v1/teams/{teamId}/members

Invites someone, by email, to join the team. Team admins only. The invite is created first, then the email is sent through PropChain; emailSent says whether that worked. Repeating the request for the same address returns 409.

Required variables:

  • baseUrl
  • apiKey (needs teams:write)
  • 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 POST "https://example.com/v1/teams/string/members"
{  "data": {    "id": "6b6c1d0e-3c43-4a3b-8e0e-111111111111",    "emailSent": true  }}