team_members

Invite team member

Invite a person by email: born status invited with a one-time code (a week), the invite email goes out. permissions is the explicit token list, stored as sent, inside the CALLER's own grant (403 insufficient_permission; * only from an unrestricted caller). account_sids narrows the member to some sender identities (null = all; beyond the caller's own slice, null included, is 403 account_not_allowed; [] is 422). Natural key (team, email) over live rows: a live member answers already_exists true.

Contract:

  • MCP tool create_team_member, registry package mcp.id/team_members, mount id.identity.
  • Operation create, response envelope create.
  • Flags: none.
post/api/team-members

Request

  • Base URL
    https://beta.getsales.io/id/v1
  • Auth
    HTTP bearer and API key in header Team-SID

Request body

emailstring email required

The address to invite.

permissionsstring[] required

The tokens the member gets, stored as sent; may be empty. Each must be held by the caller.

account_sidsstring[] nullable

The sender identities the member may see (ln_ac_...); null or omitted = every one. An empty list is refused (422).

Response

create success envelope.

successtrue required
operation'create' required
already_existsboolean required

Changes

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