Skip to main content

Resend Missing Invitations

POST 

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

Reissue many invitations in a single call.

Available to owners and managers. For each invitation named by invitation_ids -- or, if omitted, the next pending page in the workspace keyset walk -- 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 in bounded pages: 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. When invitation_ids is omitted, a capped response returns a keyset next_cursor and the pending remaining_count; supplying that cursor on the next call excludes replacements created by earlier pages, so old invitations cannot be starved by their newer replacements.

Request​

Responses​

OK