Overview
useFetchWorkspaceInvites returns a callable that lists the live pending invitations one workspace has issued (status = 'pending' AND expiresAt > now — effectively-expired rows are excluded). This is the read that powers the “Pending invitations” section of a members panel: who this team has invited and not yet heard back from.
Authorization: capability-gated. Requires the invite capability on the workspace (owners hold it implicitly).
The list is always returned in full — it is deliberately unpaginated, so there is no page/limit and no *Wrapper hook.
Usage Example
useRevokeWorkspaceInvite and useResendWorkspaceInvite, this completes a members panel entirely on the client — no server-side code and no hand-rolled fetch.
Parameters
string
required
The workspace UUID whose issued invitations to list.
Returns
{ data: WorkspaceInvitation[] } — each item a WorkspaceInvitation object. Never paginated.
Error codes
Related
useFetchMyWorkspaceInvites— the inbox counterpartuseCreateWorkspaceInvite·useRevokeWorkspaceInvite·useResendWorkspaceInvite- List Workspace Invites API

