Bulk Create Team Invites
bulkCreateTeamInvitesInvite several people to a team in one call, emailing each invitation immediately. Returns per-batch counts: succeeded were invited, skipped were already on the team, already had a pending invitation, or were a duplicate of an earlier entry in the same batch, failed could not be emailed (those invitations are rolled back). The accept link is always built from the server-configured app origin.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| members | Yes | People to invite, at most 50 per request. An email already on the team, or already holding a pending invitation, is skipped rather than failing the batch. | |
| team_id | No | Duvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here. | |
| frontendUrl | No | Deprecated. Accepted for backward compatibility and IGNORED: the accept link is always built from the server-configured app origin, so a caller cannot point invitation emails at another host. |