Skip to main content
Check My Membership
Returns the authenticated user’s membership status and resolved permissions in a space. Returns membership info even for pending or banned states. Without any membership row, a space the user can’t see (a private space, or one under it) answers 404, exactly like a nonexistent space. A service key asks about the user it names in userId.

Path Parameters

string
required
UUID of the space.

Response

boolean
Whether the user has an active membership.
string | null
"admin", "moderator", "member", or null if not a member.
string | null
"pending", "active", "banned", "rejected", or null if no membership record exists.
Date | null
When the membership was created. null if not a member.
object
See also: useCheckMyMembership