# Sublay Documentation: 7.0.0 Hooks Reference ## Hooks Reference ### Overview - [Hooks Reference](https://docs.sublay.io/v7/hooks/overview.md): Low-level hooks for every Sublay feature ### Auth Hooks - [Use auth](https://docs.sublay.io/v7/hooks/auth/use-auth.md): Access auth state and perform sign-up, sign-in, sign-out, and token management - [Use accounts](https://docs.sublay.io/v7/hooks/auth/use-accounts.md): List all accounts linked in the current app instance - [Add account](https://docs.sublay.io/v7/hooks/auth/use-add-account.md): Link a new user account to the current app instance - [Remove account](https://docs.sublay.io/v7/hooks/auth/use-remove-account.md): Remove a linked account from the current app instance - [Switch account](https://docs.sublay.io/v7/hooks/auth/use-switch-account.md): Switch the active user account - [Sign out all](https://docs.sublay.io/v7/hooks/auth/use-sign-out-all.md): Sign out of all linked accounts at once - [Fetch OAuth identities](https://docs.sublay.io/v7/hooks/auth/use-oauth-identities.md): List and manage OAuth identities linked to the current user - [Use OAuth sign-in](https://docs.sublay.io/v7/hooks/auth/use-oauth-sign-in.md): Initiate OAuth sign-in, link OAuth providers, and handle the callback — web only - [Request password reset](https://docs.sublay.io/v7/hooks/auth/use-request-password-reset.md): Send a password reset email to a user - [Send verification email](https://docs.sublay.io/v7/hooks/auth/use-send-verification-email.md): Send an email verification token or link to the authenticated user - [Verify email](https://docs.sublay.io/v7/hooks/auth/use-verify-email.md): Verify the authenticated user's email address using a token from a verification email - [Request account deletion](https://docs.sublay.io/v7/hooks/auth/use-request-account-deletion.md): Email the authenticated user a one-time code to confirm self-service account deletion - [Confirm account deletion](https://docs.sublay.io/v7/hooks/auth/use-confirm-account-deletion.md): Verify the emailed code and permanently delete the authenticated user's account ### Current User - [Use user](https://docs.sublay.io/v7/hooks/user/use-user.md): Access and update the authenticated user's own profile - [Use user actions](https://docs.sublay.io/v7/hooks/user/use-user-actions.md): Low-level actions for managing authenticated user state ### User Profiles - [Fetch user](https://docs.sublay.io/v7/hooks/users/use-fetch-user.md): Fetch a user's public profile by their Sublay user ID - [Fetch user by foreign ID](https://docs.sublay.io/v7/hooks/users/use-fetch-user-by-foreign-id.md): Fetch a user's public profile by their foreign ID - [Fetch user by username](https://docs.sublay.io/v7/hooks/users/use-fetch-user-by-username.md): Fetch a user's public profile by their username - [Fetch user suggestions](https://docs.sublay.io/v7/hooks/users/use-fetch-user-suggestions.md): Search for users by a query string - [Check username availability](https://docs.sublay.io/v7/hooks/users/use-check-username-availability.md): Check whether a username is available before setting it - [Use user mentions](https://docs.sublay.io/v7/hooks/users/use-user-mentions.md): Detect @mention triggers, fetch user suggestions, and track mentioned users in text input ### Entities - [Use entity](https://docs.sublay.io/v7/hooks/entities/use-entity.md): Access entity state and actions from EntityProvider - [Fetch entity](https://docs.sublay.io/v7/hooks/entities/use-fetch-entity.md): Fetch a single entity by its Sublay entity ID - [Fetch entity by foreign ID](https://docs.sublay.io/v7/hooks/entities/use-fetch-entity-by-foreign-id.md): Fetch a single entity by its foreign ID - [Fetch entity by short ID](https://docs.sublay.io/v7/hooks/entities/use-fetch-entity-by-short-id.md): Fetch a single entity by its auto-generated short ID - [Fetch many entities](https://docs.sublay.io/v7/hooks/entities/use-fetch-many-entities.md): Fetch a paginated, filtered, and sorted list of entities - [Use entities](https://docs.sublay.io/v7/hooks/entities/use-fetch-many-entities-wrapper.md): Stateful, paginated entity feed with sorting and filtering - [Create entity](https://docs.sublay.io/v7/hooks/entities/use-create-entity.md): Create a new entity with optional file and image uploads - [Update entity](https://docs.sublay.io/v7/hooks/entities/use-update-entity.md): Update an existing entity's content fields - [Delete entity](https://docs.sublay.io/v7/hooks/entities/use-delete-entity.md): Delete an entity - [Fetch drafts](https://docs.sublay.io/v7/hooks/entities/use-fetch-drafts.md): Fetch the authenticated user's draft entities - [Publish draft](https://docs.sublay.io/v7/hooks/entities/use-publish-draft.md): Publish a draft entity, making it publicly visible - [Check if entity is saved](https://docs.sublay.io/v7/hooks/entities/use-is-entity-saved.md): Check whether an entity is saved in any of the user's collections ### Entity Lists - [Use entity list](https://docs.sublay.io/v7/hooks/entity-lists/use-entity-list.md): Manage a paginated entity feed with filtering, sorting, and infinite scroll - [Use entity list actions](https://docs.sublay.io/v7/hooks/entity-lists/use-entity-list-actions.md): Low-level actions for fetching, creating, and deleting entities in a list - [Use infused data](https://docs.sublay.io/v7/hooks/entity-lists/use-infused-data.md): Merge an array of Sublay entities with data fetched from your own backend ### Spaces - [Use space](https://docs.sublay.io/v7/hooks/spaces/use-space.md): Access space data, permissions, and operations from SpaceProvider context - [Fetch space](https://docs.sublay.io/v7/hooks/spaces/use-fetch-space.md): Fetch a single space by its UUID - [Fetch space by short ID](https://docs.sublay.io/v7/hooks/spaces/use-fetch-space-by-short-id.md): Fetch a single space by its short identifier - [Fetch space by slug](https://docs.sublay.io/v7/hooks/spaces/use-fetch-space-by-slug.md): Fetch a single space by its URL slug - [Fetch many spaces](https://docs.sublay.io/v7/hooks/spaces/use-fetch-many-spaces.md): Fetch a paginated list of spaces with filtering and sorting - [Fetch user spaces](https://docs.sublay.io/v7/hooks/spaces/use-fetch-user-spaces.md): Fetch spaces where the current user is a member - [Fetch mutual spaces](https://docs.sublay.io/v7/hooks/spaces/use-fetch-mutual-spaces.md): Fetch spaces shared between the current user and another user - [Fetch space children](https://docs.sublay.io/v7/hooks/spaces/use-fetch-space-children.md): Fetch direct child spaces of a parent space - [Fetch space breadcrumb](https://docs.sublay.io/v7/hooks/spaces/use-fetch-space-breadcrumb.md): Fetch the ancestor chain of a space for breadcrumb navigation - [Fetch space members](https://docs.sublay.io/v7/hooks/spaces/use-fetch-space-members.md): Fetch a paginated list of members in a space - [Fetch space team](https://docs.sublay.io/v7/hooks/spaces/use-fetch-space-team.md): Fetch all admins and moderators of a space - [Check my membership](https://docs.sublay.io/v7/hooks/spaces/use-check-my-membership.md): Check the current user's membership status in a space - [Check slug availability](https://docs.sublay.io/v7/hooks/spaces/use-check-slug-availability.md): Check whether a space slug is available for use - [Create space](https://docs.sublay.io/v7/hooks/spaces/use-create-space.md): Create a new space with optional avatar and banner images - [Update space](https://docs.sublay.io/v7/hooks/spaces/use-update-space.md): Update a space's settings, name, description, or images - [Delete space](https://docs.sublay.io/v7/hooks/spaces/use-delete-space.md): Delete a space and all its associated data - [Join space](https://docs.sublay.io/v7/hooks/spaces/use-join-space.md): Join a space or submit a join request - [Leave space](https://docs.sublay.io/v7/hooks/spaces/use-leave-space.md): Leave a space - [Approve member](https://docs.sublay.io/v7/hooks/spaces/use-approve-member.md): Approve a pending membership request - [Decline member](https://docs.sublay.io/v7/hooks/spaces/use-decline-member.md): Decline a pending membership request - [Ban member](https://docs.sublay.io/v7/hooks/spaces/use-ban-member.md): Ban a member from a space - [Update member role](https://docs.sublay.io/v7/hooks/spaces/use-update-member-role.md): Update a member's role within a space - [Unban member](https://docs.sublay.io/v7/hooks/spaces/use-unban-member.md): Unban a previously banned member from a space - [Moderate space entity](https://docs.sublay.io/v7/hooks/spaces/use-moderate-space-entity.md): Approve or remove an entity within a space - [Set space entity NSFW](https://docs.sublay.io/v7/hooks/spaces/use-set-space-entity-nsfw.md): Flag or unflag an entity's NSFW status as a space moderator - [Moderate space comment](https://docs.sublay.io/v7/hooks/spaces/use-moderate-space-comment.md): Approve or remove a comment within a space - [Use space mentions](https://docs.sublay.io/v7/hooks/spaces/use-space-mentions.md): Get space mention suggestions for autocomplete in text editors - [Use space permissions](https://docs.sublay.io/v7/hooks/spaces/use-space-permissions.md): Compute resolved permissions for a user in a space ### Spaces — Rules - [Fetch many rules](https://docs.sublay.io/v7/hooks/spaces/rules/use-fetch-many-rules.md): Fetch all rules for a space - [Fetch rule](https://docs.sublay.io/v7/hooks/spaces/rules/use-fetch-rule.md): Fetch a single rule by its ID - [Create rule](https://docs.sublay.io/v7/hooks/spaces/rules/use-create-rule.md): Create a new community rule for a space - [Update rule](https://docs.sublay.io/v7/hooks/spaces/rules/use-update-rule.md): Update an existing community rule - [Delete rule](https://docs.sublay.io/v7/hooks/spaces/rules/use-delete-rule.md): Delete a community rule from a space - [Reorder rules](https://docs.sublay.io/v7/hooks/spaces/rules/use-reorder-rules.md): Reorder the community rules for a space ### Space Lists - [Use space list](https://docs.sublay.io/v7/hooks/space-lists/use-space-list.md): Paginated, filterable list of spaces backed by Redux state - [Use space list actions](https://docs.sublay.io/v7/hooks/space-lists/use-space-list-actions.md): Low-level actions for fetching, creating, and deleting spaces in a list ### Workspaces - [Create workspace](https://docs.sublay.io/v7/hooks/workspaces/use-create-workspace.md): Create a root or child workspace; the caller becomes the owner - [Fetch workspace](https://docs.sublay.io/v7/hooks/workspaces/use-fetch-workspace.md): Read a single workspace, visibility-filtered - [Fetch many workspaces](https://docs.sublay.io/v7/hooks/workspaces/use-fetch-many-workspaces.md): Leaf fetcher for the caller's direct-membership + owned workspaces - [Fetch many workspaces (wrapper)](https://docs.sublay.io/v7/hooks/workspaces/use-fetch-many-workspaces-wrapper.md): Paginated workspace list with accumulation and load-more - [Update workspace](https://docs.sublay.io/v7/hooks/workspaces/use-update-workspace.md): Edit a workspace's name and metadata from the client - [Update workspace inherit flag](https://docs.sublay.io/v7/hooks/workspaces/use-update-workspace-inherit-flag.md): Owner-only flip of the reach/inherit flag - [Delete workspace](https://docs.sublay.io/v7/hooks/workspaces/use-delete-workspace.md): Owner-only delete that cascades the whole subtree - [Transfer workspace ownership](https://docs.sublay.io/v7/hooks/workspaces/use-transfer-workspace-ownership.md): Owner-only ownership transfer, keeping ownerId and member rows disjoint - [Fetch workspace members](https://docs.sublay.io/v7/hooks/workspaces/use-fetch-workspace-members.md): The unified roster read — one entry per distinct user - [Fetch workspace member standing](https://docs.sublay.io/v7/hooks/workspaces/use-fetch-workspace-member-standing.md): One user's full resolved standing on a workspace, addressed by userId - [Update workspace member](https://docs.sublay.io/v7/hooks/workspaces/use-update-workspace-member.md): Edit a member's access or profile fields, with two capability tiers - [Remove workspace member](https://docs.sublay.io/v7/hooks/workspaces/use-remove-workspace-member.md): Remove a member from this workspace node (rank-bounded; sole-owner protected) - [Remove workspace member from subtree](https://docs.sublay.io/v7/hooks/workspaces/use-remove-workspace-member-from-subtree.md): Offboarding convenience — remove a user from this workspace and the descendants you can reach - [Leave workspace](https://docs.sublay.io/v7/hooks/workspaces/use-leave-workspace.md): Self-service departure — remove your own membership on this node - [Create workspace invite](https://docs.sublay.io/v7/hooks/workspaces/use-create-workspace-invite.md): Create a workspace invitation by email, userId, or username - [Fetch workspace invites](https://docs.sublay.io/v7/hooks/workspaces/use-fetch-workspace-invites.md): A workspace's outbox — the live pending invitations it has issued - [Revoke workspace invite](https://docs.sublay.io/v7/hooks/workspaces/use-revoke-workspace-invite.md): Revoke a pending workspace invitation - [Resend workspace invite](https://docs.sublay.io/v7/hooks/workspaces/use-resend-workspace-invite.md): Refresh a lapsed pending invitation and resend the email - [Fetch my workspace invites](https://docs.sublay.io/v7/hooks/workspaces/use-fetch-my-workspace-invites.md): The current user's inbox — live pending workspace invitations addressed to them - [Accept workspace invite](https://docs.sublay.io/v7/hooks/workspaces/use-accept-workspace-invite.md): Accept a workspace invitation — identity-matched + verified-email - [Decline workspace invite](https://docs.sublay.io/v7/hooks/workspaces/use-decline-workspace-invite.md): Decline a workspace invitation — identity-matched and verification-gated - [Fetch workspace authority](https://docs.sublay.io/v7/hooks/workspaces/use-fetch-workspace-authority.md): Resolve the current user's standing on a workspace ### Events - [useEvent & useEventData](https://docs.sublay.io/v7/hooks/events/use-event.md): Access a single event from context, or manage one directly - [useFetchEvent](https://docs.sublay.io/v7/hooks/events/use-fetch-event.md): Fetch a single event by ID - [useFetchManyEvents](https://docs.sublay.io/v7/hooks/events/use-fetch-many-events.md): Low-level one-shot query for a page of events - [useFetchManyEventsWrapper](https://docs.sublay.io/v7/hooks/events/use-fetch-many-events-wrapper.md): Stateful, paginated events list with sorting and load-more - [useCreateEvent](https://docs.sublay.io/v7/hooks/events/use-create-event.md): Create an event, optionally with an inline cover image and gallery - [useUpdateEvent](https://docs.sublay.io/v7/hooks/events/use-update-event.md): Edit an event's fields and curate its cover and gallery images (host-only) - [useCancelEvent](https://docs.sublay.io/v7/hooks/events/use-cancel-event.md): Cancel an event without deleting it (host-only) - [useDeleteEvent](https://docs.sublay.io/v7/hooks/events/use-delete-event.md): Delete an event and clean up its RSVPs and invites (host-only) - [useSetRsvp](https://docs.sublay.io/v7/hooks/events/use-set-rsvp.md): Set or change the logged-in user's RSVP to an event - [useWithdrawRsvp](https://docs.sublay.io/v7/hooks/events/use-withdraw-rsvp.md): Remove the logged-in user's RSVP from an event - [useAddHost](https://docs.sublay.io/v7/hooks/events/use-add-host.md): Grant a user host privileges on an event (host-only) - [useRemoveHost](https://docs.sublay.io/v7/hooks/events/use-remove-host.md): Revoke a user's host privileges on an event (host-only) - [useAddInvite](https://docs.sublay.io/v7/hooks/events/use-add-invite.md): Invite a user to an event (host-only) - [useRemoveInvite](https://docs.sublay.io/v7/hooks/events/use-remove-invite.md): Revoke a user's invite to an event (host-only) - [useFetchInvitees](https://docs.sublay.io/v7/hooks/events/use-fetch-invitees.md): Fetch an event's invited users (host-only) - [useFetchEventRsvps](https://docs.sublay.io/v7/hooks/events/use-fetch-event-rsvps.md): Fetch the named guest list (who RSVP'd) for an event ### Comments - [Use comment section](https://docs.sublay.io/v7/hooks/comments/use-comment-section.md): Access comment section state and actions from CommentSectionProvider - [Use entity comments](https://docs.sublay.io/v7/hooks/comments/use-entity-comments.md): Manage a paginated, sorted comment tree for an entity - [Use replies](https://docs.sublay.io/v7/hooks/comments/use-replies.md): Fetch and paginate replies for a specific comment - [Create comment](https://docs.sublay.io/v7/hooks/comments/use-create-comment.md): Create a new comment or reply on an entity - [Update comment](https://docs.sublay.io/v7/hooks/comments/use-update-comment.md): Update a comment's text content or metadata - [Delete comment](https://docs.sublay.io/v7/hooks/comments/use-delete-comment.md): Delete a comment - [Fetch comment](https://docs.sublay.io/v7/hooks/comments/use-fetch-comment.md): Fetch a single comment by its ID - [Fetch comment by foreign ID](https://docs.sublay.io/v7/hooks/comments/use-fetch-comment-by-foreign-id.md): Fetch a single comment by its foreign ID - [Fetch many comments](https://docs.sublay.io/v7/hooks/comments/use-fetch-many-comments.md): Fetch a paginated list of comments with filters - [Use comments](https://docs.sublay.io/v7/hooks/comments/use-fetch-many-comments-wrapper.md): Stateful, paginated comment list with sorting ### Reactions - [Add reaction](https://docs.sublay.io/v7/hooks/reactions/use-add-reaction.md): Add a reaction to an entity or comment - [Remove reaction](https://docs.sublay.io/v7/hooks/reactions/use-remove-reaction.md): Remove the authenticated user's reaction from an entity or comment - [Toggle reaction](https://docs.sublay.io/v7/hooks/reactions/use-reaction-toggle.md): Manage reaction state with optimistic updates and toggle behavior - [Fetch entity reactions](https://docs.sublay.io/v7/hooks/reactions/use-fetch-entity-reactions.md): Fetch a paginated list of users who reacted to an entity - [Use entity reactions](https://docs.sublay.io/v7/hooks/reactions/use-fetch-entity-reactions-wrapper.md): Stateful, paginated list of reactions on an entity - [Fetch comment reactions](https://docs.sublay.io/v7/hooks/reactions/use-fetch-comment-reactions.md): Fetch a paginated list of users who reacted to a comment - [Use comment reactions](https://docs.sublay.io/v7/hooks/reactions/use-fetch-comment-reactions-wrapper.md): Stateful, paginated list of reactions on a comment ### Reputation - [useCreateReputationGrant](https://docs.sublay.io/v7/hooks/reputation/use-create-reputation-grant.md): Transfer reputation from the logged-in user to another user - [useFetchManyReputationGrants](https://docs.sublay.io/v7/hooks/reputation/use-fetch-many-reputation-grants.md): One-shot query for a page of reputation grants - [useFetchManyReputationGrantsWrapper](https://docs.sublay.io/v7/hooks/reputation/use-fetch-many-reputation-grants-wrapper.md): Stateful, paginated reputation-grants list with load-more and refresh ### Follows - [Use follow manager](https://docs.sublay.io/v7/hooks/follows/use-follow-manager.md): Manage follow state between two users in a single hook - [Follow user](https://docs.sublay.io/v7/hooks/follows/use-follow-user.md): Follow a user by their ID - [Unfollow by follow ID](https://docs.sublay.io/v7/hooks/follows/use-unfollow-by-follow-id.md): Remove a follow relationship using the follow record ID - [Unfollow by user ID](https://docs.sublay.io/v7/hooks/follows/use-unfollow-user-by-user-id.md): Unfollow a user by their user ID - [Fetch follow status](https://docs.sublay.io/v7/hooks/follows/use-fetch-follow-status.md): Check whether the current user follows a specific user - [Fetch followers](https://docs.sublay.io/v7/hooks/follows/use-fetch-followers.md): Fetch the current user's followers with pagination - [Fetch followers by user ID](https://docs.sublay.io/v7/hooks/follows/use-fetch-followers-by-user-id.md): Fetch the followers of any user by their ID - [Fetch followers count](https://docs.sublay.io/v7/hooks/follows/use-fetch-followers-count.md): Get the total number of followers for the current user - [Fetch followers count by user ID](https://docs.sublay.io/v7/hooks/follows/use-fetch-followers-count-by-user-id.md): Get the total follower count for any user by their ID - [Fetch following](https://docs.sublay.io/v7/hooks/follows/use-fetch-following.md): Fetch the list of users the current user is following - [Fetch following by user ID](https://docs.sublay.io/v7/hooks/follows/use-fetch-following-by-user-id.md): Fetch the following list for any user by their ID - [Fetch following count](https://docs.sublay.io/v7/hooks/follows/use-fetch-following-count.md): Get the total number of users the current user is following - [Fetch following count by user ID](https://docs.sublay.io/v7/hooks/follows/use-fetch-following-count-by-user-id.md): Get the following count for any user by their ID ### Connections - [Use connection manager](https://docs.sublay.io/v7/hooks/connections/use-connection-manager.md): Manage connection state and actions between two users - [Request connection](https://docs.sublay.io/v7/hooks/connections/use-request-connection.md): Send a connection request to a user - [Accept connection](https://docs.sublay.io/v7/hooks/connections/use-accept-connection.md): Accept a pending connection request by connection ID - [Decline connection](https://docs.sublay.io/v7/hooks/connections/use-decline-connection.md): Decline a pending connection request by connection ID - [Remove connection](https://docs.sublay.io/v7/hooks/connections/use-remove-connection.md): Remove a connection or withdraw a pending request by connection ID - [Remove connection by user ID](https://docs.sublay.io/v7/hooks/connections/use-remove-connection-by-user-id.md): Remove a connection with a user by their user ID - [Fetch connections](https://docs.sublay.io/v7/hooks/connections/use-fetch-connections.md): Fetch the current user's accepted connections with pagination - [Fetch connections by user ID](https://docs.sublay.io/v7/hooks/connections/use-fetch-connections-by-user-id.md): Fetch accepted connections for any user by their ID - [Fetch connections count](https://docs.sublay.io/v7/hooks/connections/use-fetch-connections-count.md): Get the total number of accepted connections for the current user - [Fetch connections count by user ID](https://docs.sublay.io/v7/hooks/connections/use-fetch-connections-count-by-user-id.md): Get the connection count for any user by their ID - [Fetch connection status](https://docs.sublay.io/v7/hooks/connections/use-fetch-connection-status.md): Check the connection status between the current user and another user - [Fetch sent pending connections](https://docs.sublay.io/v7/hooks/connections/use-fetch-sent-pending-connections.md): Fetch connection requests sent by the current user that are still pending - [Fetch received pending connections](https://docs.sublay.io/v7/hooks/connections/use-fetch-received-pending-connections.md): Fetch connection requests received by the current user that are still pending ### Blocks - [Use block manager](https://docs.sublay.io/v7/hooks/blocks/use-block-manager.md): Manage block state between the current user and another user in a single hook - [Use block user](https://docs.sublay.io/v7/hooks/blocks/use-block-user.md): Block another user - [Use unblock user](https://docs.sublay.io/v7/hooks/blocks/use-unblock-user.md): Remove a block on another user - [Fetch block status](https://docs.sublay.io/v7/hooks/blocks/use-fetch-block-status.md): Check whether the current user blocks a specific user - [Fetch blocked users](https://docs.sublay.io/v7/hooks/blocks/use-fetch-blocked-users.md): Read the current user's own paginated block list ### Collections - [Use collections](https://docs.sublay.io/v7/hooks/collections/use-collections.md): Navigate the user's collection hierarchy and manage saved entities - [Use collections actions](https://docs.sublay.io/v7/hooks/collections/use-collections-actions.md): Low-level actions for fetching, creating, updating, and deleting collections - [Use collection entities](https://docs.sublay.io/v7/hooks/collections/use-collection-entities-wrapper.md): Fetch and paginate entities saved in a collection ### App Notifications - [Use app notifications](https://docs.sublay.io/v7/hooks/app-notifications/use-app-notifications.md): Fetch notifications, track unread count, and mark as read ### Push Notifications - [usePushRegistration](https://docs.sublay.io/v7/hooks/push/use-push-registration.md): Request push permission and register or unregister the current user's device - [useAccountPushToggle](https://docs.sublay.io/v7/hooks/push/use-account-push-toggle.md): Turn push notifications on or off for any stored account on this device - [Use notification preferences](https://docs.sublay.io/v7/hooks/push/use-notification-preferences.md): Read and update the current user's disabled push notification types ### Chat — Conversations - [Use conversations](https://docs.sublay.io/v7/hooks/chat/conversations/use-conversations.md): Fetch a paginated list of the current user's conversations - [Use conversation](https://docs.sublay.io/v7/hooks/chat/conversations/use-conversation.md): Fetch, update, and delete a single conversation - [Use fetch conversation](https://docs.sublay.io/v7/hooks/chat/conversations/use-fetch-conversation.md): Fetch a single conversation by ID - [Use update conversation](https://docs.sublay.io/v7/hooks/chat/conversations/use-update-conversation.md): Update a conversation's details - [Use delete conversation](https://docs.sublay.io/v7/hooks/chat/conversations/use-delete-conversation.md): Delete a conversation - [Create direct conversation](https://docs.sublay.io/v7/hooks/chat/conversations/use-create-direct-conversation.md): Create or retrieve a 1:1 direct conversation with another user - [Use conversation members](https://docs.sublay.io/v7/hooks/chat/conversations/use-conversation-members.md): Fetch and manage the members of a conversation - [Fetch space conversation](https://docs.sublay.io/v7/hooks/chat/conversations/use-fetch-space-conversation.md): Fetch the chat conversation associated with a space - [Use mute conversation](https://docs.sublay.io/v7/hooks/chat/conversations/use-mute-conversation.md): Set or clear the current user's mute on a conversation ### Chat — Messages - [Use live chat messages](https://docs.sublay.io/v7/hooks/chat/messages/use-live-chat-messages.md): Live, store-backed message stream for a conversation or thread - [Fetch many chat messages](https://docs.sublay.io/v7/hooks/chat/messages/use-fetch-many-chat-messages.md): Stateless fetcher for conversation messages — no Redux, no socket - [Fetch many chat messages (wrapper)](https://docs.sublay.io/v7/hooks/chat/messages/use-fetch-many-chat-messages-wrapper.md): Stateful, paginated message list for read-only / filtered queries - [Send message](https://docs.sublay.io/v7/hooks/chat/messages/use-send-message.md): Send a message to a conversation with optimistic updates - [Edit message](https://docs.sublay.io/v7/hooks/chat/messages/use-edit-message.md): Edit the content of an existing chat message - [Delete message](https://docs.sublay.io/v7/hooks/chat/messages/use-delete-message.md): Soft-delete a chat message - [Toggle reaction](https://docs.sublay.io/v7/hooks/chat/messages/use-toggle-reaction.md): Add or remove an emoji reaction on a chat message - [Use message thread](https://docs.sublay.io/v7/hooks/chat/messages/use-message-thread.md): Load replies and send new replies in a message thread - [Use chat messages (deprecated)](https://docs.sublay.io/v7/hooks/chat/messages/use-chat-messages.md): Deprecated alias for useLiveChatMessages ### Chat — Core - [Use chat socket](https://docs.sublay.io/v7/hooks/chat/use-chat-socket.md): Access the underlying Socket.io connection state for chat - [Mark conversation as read](https://docs.sublay.io/v7/hooks/chat/use-mark-conversation-as-read.md): Mark messages in a conversation as read up to a given message - [Use total unread count](https://docs.sublay.io/v7/hooks/chat/use-total-unread-count.md): Get the total number of unread messages across all conversations - [Use typing indicator](https://docs.sublay.io/v7/hooks/chat/use-typing-indicator.md): Send and receive typing indicator events in a conversation - [Use unread conversation count](https://docs.sublay.io/v7/hooks/chat/use-unread-conversation-count.md): Get the number of conversations with at least one unread message ### Search - [Search content](https://docs.sublay.io/v7/hooks/search/use-search-content.md): Semantic search over entities, comments, and messages - [Search users](https://docs.sublay.io/v7/hooks/search/use-search-users.md): Semantic search for users by natural language query - [Search spaces](https://docs.sublay.io/v7/hooks/search/use-search-spaces.md): Semantic search for spaces by natural language query - [Ask content](https://docs.sublay.io/v7/hooks/search/use-ask-content.md): Ask a natural language question and stream a generated answer from project content - [Match users](https://docs.sublay.io/v7/hooks/search/use-match-users.md): Match people by activity-derived interest facets, passively or by topic ### Reports - [Create report](https://docs.sublay.io/v7/hooks/reports/use-create-report.md): Submit a report against an entity, comment, or chat message - [Fetch moderated reports](https://docs.sublay.io/v7/hooks/reports/use-fetch-moderated-reports.md): Fetch content reports for spaces the current user moderates - [Handle space entity report](https://docs.sublay.io/v7/hooks/reports/use-handle-space-entity-report.md): Action an entity report as a space moderator - [Handle space comment report](https://docs.sublay.io/v7/hooks/reports/use-handle-space-comment-report.md): Action a comment report as a space moderator - [Handle space chat report](https://docs.sublay.io/v7/hooks/reports/use-handle-space-chat-report.md): Action a chat message report as a space moderator ### Storage - [Upload file](https://docs.sublay.io/v7/hooks/storage/use-upload-file.md): Upload a generic file (document, video, or other) without server-side processing - [Upload image](https://docs.sublay.io/v7/hooks/storage/use-upload-image.md): Upload an image with server-side processing and named variant generation ### Crypto - [Sign testing JWT](https://docs.sublay.io/v7/hooks/crypto/use-sign-testing-jwt.md): Generate a signed JWT for testing external auth — development only ### Project - [Use project](https://docs.sublay.io/v7/hooks/project/use-project.md): Access the current project ID and configuration from context ### Custom Tables - [Use table](https://docs.sublay.io/v7/hooks/tables/use-table.md): Read and mutate a custom table's rows with pagination, sorting, filtering, and soft-delete - [Use table row](https://docs.sublay.io/v7/hooks/tables/use-table-row.md): Read a single custom-table row by ID for a detail view