teams-invite
Get a teammate into a team (team owner only), two ways. Required: team_id (integer, from teams-list). WITH email: emails an invite to that address. WITHOUT email: returns join_url, a shareable link anyone can open to join themselves, plus join_link_expires_at and join_link_uses_remaining. Prefer the LINK unless the user names an address — few people can recall a colleague's address mid-conversation, and asking is where teams stall at one member. Give the link to the USER to share; never post it anywhere yourself. Creating a link REPLACES any existing one, so to repeat a link already shared, read join_url from teams-get instead of calling this. Optional: action ('create' (default) | 'revoke'). Inviting is always free; on a team that already subscribes, each person who joins adds a billable seat straight away.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Address to email an invite to. Omit to get a shareable join link instead. | ||
| action | No | Link mode only (no email): 'create' (default) mints a link and invalidates any previous one; 'revoke' removes it. | |
| team_id | Yes | Team ID (required; use teams-list to find it) |