Skip to main content
POST
Resend a team invite

Authorizations

Authorization
string
header
required

OAuth 2.1 authorization code + PKCE (S256). Tokens are tenant-bound (company_id) and scoped. Discover endpoints via /.well-known/oauth-authorization-server.

Body

application/json

Resend a pending team-invite email. companyId is injected from the token tenant and must NOT be supplied. Required (validated in the use-case): email, inviteCode. Source: lib/api/team/send-invite.usecase.ts + create.body in lib/mcp/tools/team.ts send_team_invite. The route zod (SendInviteInput) is .passthrough().

email
string<email>
required

Email address of the pending invitee (must match the invite's email).

inviteCode
string
required

The invite code to resend.

Minimum string length: 1
companyName
string

Company name shown in the email (defaults to 'A company').

role
string

Role shown in the email (defaults to 'team member').

Response

Result of resending the invite email: status message, the invite link, and the delivery attempt count.

data
object
required

Resend-invite result. Source: SendInviteResult (lib/api/team/send-invite.usecase.ts).