Overview
useAcceptWorkspaceInvite returns a callable that accepts an invitation. The inviteId is non-secret. Idempotent when already a member/owner.
Authorization: self-service. The invite must be addressed to the signed-in user (identity-matched), and a verified email is required.
Usage Example
Parameters
string
required
The (non-secret) invitation UUID.
Returns
{ success: boolean; workspaceId: string }.
An unverified accept fails with
workspace/email-not-verified — prompt the user to verify their email, then retry.Error codes
Related
useFetchMyWorkspaceInvites— list the invites addressed to you- Accept Invite API

