Skip to main content

Resend Missing Invitations

POST 

/api/v1/workspaces/invitations/resend-missing

Reissue many invitations in a single call (Issue #564 follow-up).

Available to owners and managers. For each invitation named by invitation_ids -- or, if omitted, every pending invitation in the workspace -- this reissues it exactly as POST /invitations/{id}/resend does (same _validate_resend / _execute_resend helpers: same token regeneration, same email, same audit entry, same owner-invitation restriction). A row a manager may not touch, or one that stopped being pending, is skipped and reported rather than failing the call.

A print sheet checking in a hundred-person crew needs every pending invitation reissued at once: the single endpoint is rate limited to 10 resends per hour per user, which would take ten passes an hour apart for a sheet that size. This endpoint counts as ONE call against its own budget (also 10 per hour per user) regardless of how many invitations it reissues -- charged once every row has been classified with _validate_resend and at least one is actually executable, so a batch that turns out to be entirely unknown ids or owner invitations a manager may not touch costs nothing. Capped at MAX_BATCH_RESEND invitations per call.

Request

Responses

OK