Guides
Management and cleanup
List, revoke, export, prune, and delete invitations safely by scope.
Management functions return safe invitation views and never expose raw tokens or token digests. Keep them behind host authorization checks that validate the requested scope.
Queries
getByIdlistByResourcelistByStatelistPendingByAudienceexportByScope
All list operations use Convex pagination and cap pages at 100 rows.
Mutations
revoketerminates a pending invitation with a host reason.resendrotates a pending invitation and returns a fresh raw token once.recordDeliveryAttemptstores a bounded delivery summary.pruneexpires overdue invitations and removes old terminal rows.deleteByScopeperforms bounded application-driven erasure.
Pruning and deletion process no more than 100 documents per call. Schedule repeated internal mutations when a scope contains more records.