Skip to main content
Version: v1.0.0(int)

W008: List my pending invitations

Returns invitations addressed to the current user's email that are still actionable. Triggered from My Organizations and at app login.

Steps​

  1. Resolve the caller's email. Pull it from the verified Firebase claims.

  2. Fetch pending invites for that email. Call Platform.listInvitationsByEmail(email, ['pending']).

  3. Drop expired entries. Filter out anything past its expiry timestamp.

Returns​

Pending, unexpired invitations addressed to the current user's email.

Business rules​

  • Status filter is pending only. Accepted, declined, revoked, or expired invitations are not surfaced here.

Errors​

None.