team_members

Accept team member invitation

Accept a pending invite by its one-time code (no team scope: the caller is not a member yet). The row flips invited to active and binds the signed-in account; already active for the same account answers already_accepted true; a code redeemed by another account is 409 invitation_already_redeemed, an expired one 409 invitation_expired, an unknown one 404. Then call /auth/refresh: the token held was minted before the membership existed.

Contract:

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

Request

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

Request body

codestring required

The raw one-time invite code from the email link.

Response

action success envelope.

successtrue required
operation'action' required
actionstring required

kebab-case verb; matches the route segment.

Changes

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