# Sublay Documentation: 7.0.0 API Reference

## API Reference

### Overview

- [Getting Started](https://docs.sublay.io/v7/api-reference/getting-started.md): Base URL, projectId scoping, request format, pagination, and error codes
- [Authentication](https://docs.sublay.io/v7/api-reference/authentication.md): How to authenticate API requests with Bearer tokens and manage token refresh

### Auth Endpoints

- [Sign Up](https://docs.sublay.io/v7/api-reference/auth/sign-up.md): Create a new user account with email and password
- [Sign In](https://docs.sublay.io/v7/api-reference/auth/sign-in.md): Authenticate a user with email and password
- [Sign Out](https://docs.sublay.io/v7/api-reference/auth/sign-out.md): Sign out the current user, invalidate the refresh token family, and optionally unbind the device's push
- [Change Password](https://docs.sublay.io/v7/api-reference/auth/change-password.md): Change the authenticated user's password
- [Set Password](https://docs.sublay.io/v7/api-reference/auth/set-password.md): Set an initial password for an OAuth-only user
- [Request Access Token](https://docs.sublay.io/v7/api-reference/auth/request-access-token.md): Obtain a new access token using a refresh token
- [Verify External User](https://docs.sublay.io/v7/api-reference/auth/verify-external-user.md): Verify or create a user from an external auth system JWT
- [Request Password Reset](https://docs.sublay.io/v7/api-reference/auth/request-password-reset.md): Send a password reset email to a user
- [Reset Password](https://docs.sublay.io/v7/api-reference/auth/reset-password.md): Reset a user's password using a token from the reset email
- [Send Verification Email](https://docs.sublay.io/v7/api-reference/auth/send-verification-email.md): Send an email verification token or link to the authenticated user
- [Verify Email](https://docs.sublay.io/v7/api-reference/auth/verify-email.md): Verify a user's email address using a token from a verification email
- [Verify Email Link](https://docs.sublay.io/v7/api-reference/auth/verify-email-link.md): Verify a user's email address via a link clicked in an email
- [Request Account Deletion](https://docs.sublay.io/v7/api-reference/auth/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/api-reference/auth/confirm-account-deletion.md): Verify the emailed code and permanently delete the authenticated user's account

### OAuth Endpoints

- [Authorize OAuth](https://docs.sublay.io/v7/api-reference/oauth/authorize.md): Initiate an OAuth sign-in or sign-up flow
- [Link OAuth Provider](https://docs.sublay.io/v7/api-reference/oauth/link.md): Link a new OAuth provider to the current authenticated user
- [List OAuth Identities](https://docs.sublay.io/v7/api-reference/oauth/list-identities.md): List all OAuth identities linked to the current user
- [Unlink OAuth Identity](https://docs.sublay.io/v7/api-reference/oauth/unlink-identity.md): Remove a linked OAuth identity from the current user

### User Endpoints

- [Fetch User](https://docs.sublay.io/v7/api-reference/users/fetch-user.md): Get a user's public profile by ID
- [Fetch User by Foreign ID](https://docs.sublay.io/v7/api-reference/users/fetch-user-by-foreign-id.md): Look up a user by your own system's external user ID
- [Fetch User by Username](https://docs.sublay.io/v7/api-reference/users/fetch-user-by-username.md): Look up a user by their username
- [Fetch User Suggestions](https://docs.sublay.io/v7/api-reference/users/fetch-user-suggestions.md): Search for users by username prefix — for @mention autocomplete
- [Check Username Availability](https://docs.sublay.io/v7/api-reference/users/check-username-availability.md): Check whether a username is already taken in this project
- [Update User](https://docs.sublay.io/v7/api-reference/users/update-user.md): Update a user's profile fields, including avatar and banner images
- [Delete User](https://docs.sublay.io/v7/api-reference/users/delete-user.md): Permanently delete a user and cascade cleanup across all of their related data

### User Follow Operations

- [Follow User](https://docs.sublay.io/v7/api-reference/users/follows/follow-user.md): Follow a user by their ID
- [Get Follow Status](https://docs.sublay.io/v7/api-reference/users/follows/get-follow-status.md): Check whether the authenticated user follows a specific user
- [Get Followers](https://docs.sublay.io/v7/api-reference/users/follows/get-followers.md): Get a paginated list of users who follow a specific user
- [Get Followers Count](https://docs.sublay.io/v7/api-reference/users/follows/get-followers-count.md): Get the number of followers for a specific user
- [Get Following](https://docs.sublay.io/v7/api-reference/users/follows/get-following.md): Get a paginated list of users that a specific user follows
- [Get Following Count](https://docs.sublay.io/v7/api-reference/users/follows/get-following-count.md): Get the number of users that a specific user follows
- [Unfollow User](https://docs.sublay.io/v7/api-reference/users/follows/unfollow-user.md): Unfollow a user by their user ID

### User Connection Operations

- [Request Connection](https://docs.sublay.io/v7/api-reference/users/connections/request-connection.md): Send a connection request to a user
- [Get Connection Status](https://docs.sublay.io/v7/api-reference/users/connections/get-connection-status.md): Check the connection status between the authenticated user and another user
- [Get Connections](https://docs.sublay.io/v7/api-reference/users/connections/get-connections.md): Get a paginated list of a user's accepted connections
- [Get Connections Count](https://docs.sublay.io/v7/api-reference/users/connections/get-connections-count.md): Get the number of accepted connections for a user
- [Remove Connection](https://docs.sublay.io/v7/api-reference/users/connections/remove-connection.md): Remove, withdraw, or decline a connection by user ID

### User Block Operations

- [Block User](https://docs.sublay.io/v7/api-reference/users/blocks/block-user.md): Block a user by their ID
- [Unblock User](https://docs.sublay.io/v7/api-reference/users/blocks/unblock-user.md): Unblock a user by their ID
- [Get Block Status](https://docs.sublay.io/v7/api-reference/users/blocks/get-block-status.md): Check whether the acting user blocks a specific user
- [Fetch Blocked Users](https://docs.sublay.io/v7/api-reference/blocks/fetch-blocks.md): Get the acting user's own paginated list of blocked users

### Follow Endpoints

- [Fetch Following](https://docs.sublay.io/v7/api-reference/follows/fetch-following.md): Get a paginated list of users the authenticated user follows
- [Fetch Followers](https://docs.sublay.io/v7/api-reference/follows/fetch-followers.md): Get a paginated list of the authenticated user's followers
- [Fetch Following Count](https://docs.sublay.io/v7/api-reference/follows/fetch-following-count.md): Get the number of users the authenticated user follows
- [Fetch Followers Count](https://docs.sublay.io/v7/api-reference/follows/fetch-followers-count.md): Get the number of followers the authenticated user has
- [Delete Follow](https://docs.sublay.io/v7/api-reference/follows/delete-follow.md): Remove a follow relationship by its follow ID

### Connection Endpoints

- [Fetch Connections](https://docs.sublay.io/v7/api-reference/connections/fetch-connections.md): Get a paginated list of the authenticated user's accepted connections
- [Fetch Connections Count](https://docs.sublay.io/v7/api-reference/connections/fetch-connections-count.md): Get the number of accepted connections for the authenticated user
- [Fetch Sent Pending Connections](https://docs.sublay.io/v7/api-reference/connections/fetch-sent-pending.md): Get connection requests sent by the authenticated user that are still pending
- [Fetch Received Pending Connections](https://docs.sublay.io/v7/api-reference/connections/fetch-received-pending.md): Get connection requests received by the authenticated user that are still pending
- [Accept Connection](https://docs.sublay.io/v7/api-reference/connections/accept-connection.md): Accept a pending connection request
- [Decline Connection](https://docs.sublay.io/v7/api-reference/connections/decline-connection.md): Decline a pending connection request
- [Remove Connection](https://docs.sublay.io/v7/api-reference/connections/remove-connection.md): Withdraw a pending request or disconnect an accepted connection by connection ID

### Entity Endpoints

- [Create Entity](https://docs.sublay.io/v7/api-reference/entities/create-entity.md): Create a new entity, with optional file upload support
- [Fetch Entity](https://docs.sublay.io/v7/api-reference/entities/fetch-entity.md): Get a single entity by its Sublay ID
- [Fetch Entity by Foreign ID](https://docs.sublay.io/v7/api-reference/entities/fetch-entity-by-foreign-id.md): Get an entity by its foreign ID, optionally creating it if not found
- [Fetch Entity by Short ID](https://docs.sublay.io/v7/api-reference/entities/fetch-entity-by-short-id.md): Get an entity by its short ID
- [Fetch Many Entities](https://docs.sublay.io/v7/api-reference/entities/fetch-many-entities.md): Get a paginated, filtered list of entities
- [Fetch Drafts](https://docs.sublay.io/v7/api-reference/entities/fetch-drafts.md): Get the authenticated user's draft entities
- [Publish Entity](https://docs.sublay.io/v7/api-reference/entities/publish-entity.md): Publish a draft entity, making it publicly visible
- [Fetch Top Comment](https://docs.sublay.io/v7/api-reference/entities/fetch-top-comment.md): Get the highest-voted comment on an entity
- [Update Entity](https://docs.sublay.io/v7/api-reference/entities/update-entity.md): Update an entity's content and metadata
- [Delete Entity](https://docs.sublay.io/v7/api-reference/entities/delete-entity.md): Delete an entity
- [Add Entity Reaction](https://docs.sublay.io/v7/api-reference/entities/add-reaction.md): Add or update a reaction on an entity
- [Remove Entity Reaction](https://docs.sublay.io/v7/api-reference/entities/remove-reaction.md): Remove the authenticated user's reaction from an entity
- [Fetch Entity Reactions](https://docs.sublay.io/v7/api-reference/entities/fetch-reactions.md): Get a paginated list of reactions on an entity
- [Get User Reaction](https://docs.sublay.io/v7/api-reference/entities/get-user-reaction.md): Get the authenticated user's reaction on an entity
- [Is Entity Saved](https://docs.sublay.io/v7/api-reference/entities/is-entity-saved.md): Check whether an entity is saved in any of the current user's collections

### Comment Endpoints

- [Create Comment](https://docs.sublay.io/v7/api-reference/comments/create-comment.md): Create a new comment or reply on an entity
- [Fetch Comment](https://docs.sublay.io/v7/api-reference/comments/fetch-comment.md): Get a single comment by ID
- [Fetch Comment by Foreign ID](https://docs.sublay.io/v7/api-reference/comments/fetch-comment-by-foreign-id.md): Get a comment by its foreign ID
- [Fetch Many Comments](https://docs.sublay.io/v7/api-reference/comments/fetch-many-comments.md): Get a paginated, sorted list of comments
- [Update Comment](https://docs.sublay.io/v7/api-reference/comments/update-comment.md): Edit a comment's content and/or metadata
- [Delete Comment](https://docs.sublay.io/v7/api-reference/comments/delete-comment.md): Delete a comment
- [Add Comment Reaction](https://docs.sublay.io/v7/api-reference/comments/add-reaction.md): Add or update a reaction on a comment
- [Remove Comment Reaction](https://docs.sublay.io/v7/api-reference/comments/remove-reaction.md): Remove the authenticated user's reaction from a comment
- [Fetch Comment Reactions](https://docs.sublay.io/v7/api-reference/comments/fetch-reactions.md): Get a paginated list of reactions on a comment
- [Get User Reaction](https://docs.sublay.io/v7/api-reference/comments/get-user-reaction.md): Get the authenticated user's reaction on a comment

### Chat — Conversations

- [List Conversations](https://docs.sublay.io/v7/api-reference/chat/conversations/list-conversations.md): Get the current user's conversations, ordered by most recent activity
- [Create Group Conversation](https://docs.sublay.io/v7/api-reference/chat/conversations/create-group.md): Create a new multi-member group conversation
- [Create Direct Conversation](https://docs.sublay.io/v7/api-reference/chat/conversations/create-direct.md): Get or create a 1:1 direct conversation with another user
- [Get Unread Count](https://docs.sublay.io/v7/api-reference/chat/conversations/unread-count.md): Get the total unread message count and unread conversation count for the current user
- [Fetch Conversation](https://docs.sublay.io/v7/api-reference/chat/conversations/fetch-conversation.md): Fetch a single conversation by ID
- [Update Conversation](https://docs.sublay.io/v7/api-reference/chat/conversations/update-conversation.md): Update a group or space conversation's name, description, avatar, or posting permissions
- [Delete Conversation](https://docs.sublay.io/v7/api-reference/chat/conversations/delete-conversation.md): Delete a group or space conversation and all its messages
- [Mute Conversation](https://docs.sublay.io/v7/api-reference/chat/conversations/mute-conversation.md): Set or clear the authenticated user's mute on a conversation

### Chat — Members

- [List Members](https://docs.sublay.io/v7/api-reference/chat/members/list-members.md): List the active members of a conversation
- [Add Member](https://docs.sublay.io/v7/api-reference/chat/members/add-member.md): Add a user to a group conversation
- [Remove Member](https://docs.sublay.io/v7/api-reference/chat/members/remove-member.md): Remove a user from a group conversation
- [Leave Conversation](https://docs.sublay.io/v7/api-reference/chat/members/leave-conversation.md): Leave a group or space conversation
- [Update Member Role](https://docs.sublay.io/v7/api-reference/chat/members/update-member-role.md): Change a member's role in a group conversation

### Chat — Messages

- [List Messages](https://docs.sublay.io/v7/api-reference/chat/messages/list-messages.md): Fetch messages in a conversation or thread
- [Send Message](https://docs.sublay.io/v7/api-reference/chat/messages/send-message.md): Send a message to a conversation
- [Fetch Message](https://docs.sublay.io/v7/api-reference/chat/messages/fetch-message.md): Fetch a single message by ID
- [Edit Message](https://docs.sublay.io/v7/api-reference/chat/messages/edit-message.md): Edit the content of a message
- [Delete Message](https://docs.sublay.io/v7/api-reference/chat/messages/delete-message.md): Delete or moderate a chat message
- [Toggle Message Reaction](https://docs.sublay.io/v7/api-reference/chat/messages/toggle-reaction.md): Add or remove an emoji reaction on a chat message
- [Fetch Reaction Users](https://docs.sublay.io/v7/api-reference/chat/messages/fetch-reaction-users.md): List users who reacted to a message with a specific emoji
- [Mark as Read](https://docs.sublay.io/v7/api-reference/chat/messages/mark-as-read.md): Advance the current user's read cursor to a given message

### Collection Endpoints

- [Fetch Root Collection](https://docs.sublay.io/v7/api-reference/collections/fetch-root.md): Get or create the current user's root collection
- [Create Sub-Collection](https://docs.sublay.io/v7/api-reference/collections/create-sub-collection.md): Create a new sub-collection inside an existing collection
- [Fetch Sub-Collections](https://docs.sublay.io/v7/api-reference/collections/fetch-sub-collections.md): List all direct child collections of a given collection
- [Fetch Collection Entities](https://docs.sublay.io/v7/api-reference/collections/fetch-entities.md): Get paginated entities saved in a collection
- [Add Entity to Collection](https://docs.sublay.io/v7/api-reference/collections/add-entity.md): Save an entity into a collection
- [Remove Entity from Collection](https://docs.sublay.io/v7/api-reference/collections/remove-entity.md): Remove a saved entity from a collection
- [Update Collection](https://docs.sublay.io/v7/api-reference/collections/update-collection.md): Rename a collection
- [Delete Collection](https://docs.sublay.io/v7/api-reference/collections/delete-collection.md): Delete a sub-collection

### App Notification Endpoints

- [Fetch Notifications](https://docs.sublay.io/v7/api-reference/app-notifications/fetch-notifications.md): Get a paginated list of app notifications for the authenticated user
- [Count Unread Notifications](https://docs.sublay.io/v7/api-reference/app-notifications/count-unread.md): Get the number of unread app notifications for the authenticated user
- [Mark Notification as Read](https://docs.sublay.io/v7/api-reference/app-notifications/mark-as-read.md): Mark a single notification as read by its ID
- [Mark All Notifications as Read](https://docs.sublay.io/v7/api-reference/app-notifications/mark-all-as-read.md): Mark all unread notifications as read for the authenticated user

### Push Notification Endpoints

- [Register Device](https://docs.sublay.io/v7/api-reference/push-notifications/register-device.md): Register a device to receive push notifications for the authenticated user
- [Deregister Device](https://docs.sublay.io/v7/api-reference/push-notifications/deregister-device.md): Remove a device registration so the authenticated user stops receiving push notifications on it
- [Send Push Notification](https://docs.sublay.io/v7/api-reference/push-notifications/send.md): Send a push notification to one or more users across all their registered devices
- [Get VAPID Public Key](https://docs.sublay.io/v7/api-reference/push-notifications/get-vapid-public-key.md): Retrieve the project's VAPID public key for Web Push subscriptions
- [Get Notification Preferences](https://docs.sublay.io/v7/api-reference/push-notifications/get-preferences.md): Read the authenticated user's disabled push notification types
- [Update Notification Preferences](https://docs.sublay.io/v7/api-reference/push-notifications/update-preferences.md): Set the authenticated user's disabled push notification types

### Report Endpoints

- [Create Report](https://docs.sublay.io/v7/api-reference/reports/create-report.md): Submit a content report for an entity, comment, or chat message
- [Fetch Moderated Reports](https://docs.sublay.io/v7/api-reference/reports/fetch-moderated-reports.md): Get content reports for spaces the authenticated user can moderate

### Search Endpoints

- [Search Content](https://docs.sublay.io/v7/api-reference/search/search-content.md): Semantic search over entities, comments, and messages
- [Search Users](https://docs.sublay.io/v7/api-reference/search/search-users.md): Semantic search over project users
- [Search Spaces](https://docs.sublay.io/v7/api-reference/search/search-spaces.md): Semantic search over project spaces
- [Ask Content](https://docs.sublay.io/v7/api-reference/search/ask.md): AI-powered Q&A grounded in your project's content
- [Match Users](https://docs.sublay.io/v7/api-reference/match/match-users.md): Match people by activity-derived interest facets

### Space Endpoints

- [Create Space](https://docs.sublay.io/v7/api-reference/spaces/create-space.md): Create a new community space
- [Fetch Spaces](https://docs.sublay.io/v7/api-reference/spaces/fetch-spaces.md): Get a paginated list of spaces with filtering and sorting
- [Fetch Space](https://docs.sublay.io/v7/api-reference/spaces/fetch-space.md): Get a single space by its UUID
- [Fetch Space by Short ID](https://docs.sublay.io/v7/api-reference/spaces/fetch-space-by-short-id.md): Get a single space by its short identifier
- [Fetch Space by Slug](https://docs.sublay.io/v7/api-reference/spaces/fetch-space-by-slug.md): Get a single space by its URL slug
- [Fetch User Spaces](https://docs.sublay.io/v7/api-reference/spaces/fetch-user-spaces.md): Get spaces the authenticated user is a member of
- [Fetch Mutual Spaces](https://docs.sublay.io/v7/api-reference/spaces/fetch-mutual-spaces.md): Get spaces shared between the authenticated user and another user
- [Check Slug Availability](https://docs.sublay.io/v7/api-reference/spaces/check-slug.md): Check whether a space slug is available in the project
- [Update Space](https://docs.sublay.io/v7/api-reference/spaces/update-space.md): Update a space's settings, name, description, or images
- [Delete Space](https://docs.sublay.io/v7/api-reference/spaces/delete-space.md): Delete a space and all its associated data
- [Fetch Space Children](https://docs.sublay.io/v7/api-reference/spaces/fetch-children.md): Get the direct child spaces of a parent space
- [Fetch Space Breadcrumb](https://docs.sublay.io/v7/api-reference/spaces/fetch-breadcrumb.md): Get the ancestor chain of a space for breadcrumb navigation

### Space — Membership

- [Join Space](https://docs.sublay.io/v7/api-reference/spaces/membership/join-space.md): Join a space or submit a membership request
- [Leave Space](https://docs.sublay.io/v7/api-reference/spaces/membership/leave-space.md): Leave a space
- [Check My Membership](https://docs.sublay.io/v7/api-reference/spaces/membership/check-my-membership.md): Get the current user's membership status and permissions in a space
- [List Space Members](https://docs.sublay.io/v7/api-reference/spaces/membership/list-members.md): Get a paginated list of members in a space
- [List Space Team](https://docs.sublay.io/v7/api-reference/spaces/membership/list-team.md): Get all admins and moderators of a space
- [Approve Member](https://docs.sublay.io/v7/api-reference/spaces/membership/approve-member.md): Approve a pending membership request
- [Decline Member](https://docs.sublay.io/v7/api-reference/spaces/membership/decline-member.md): Decline a pending membership request
- [Ban Member](https://docs.sublay.io/v7/api-reference/spaces/membership/ban-member.md): Ban a member from a space
- [Unban Member](https://docs.sublay.io/v7/api-reference/spaces/membership/unban-member.md): Unban a previously banned member
- [Update Member Role](https://docs.sublay.io/v7/api-reference/spaces/membership/update-member-role.md): Update a member's role within a space

### Space — Rules

- [List Rules](https://docs.sublay.io/v7/api-reference/spaces/rules/list-rules.md): Get all community rules for a space
- [Fetch Rule](https://docs.sublay.io/v7/api-reference/spaces/rules/fetch-rule.md): Get a single community rule by its ID
- [Create Rule](https://docs.sublay.io/v7/api-reference/spaces/rules/create-rule.md): Create a new community rule for a space
- [Update Rule](https://docs.sublay.io/v7/api-reference/spaces/rules/update-rule.md): Update an existing community rule
- [Delete Rule](https://docs.sublay.io/v7/api-reference/spaces/rules/delete-rule.md): Delete a community rule from a space
- [Reorder Rules](https://docs.sublay.io/v7/api-reference/spaces/rules/reorder-rules.md): Reorder the community rules for a space

### Space — Moderation

- [Moderate Entity](https://docs.sublay.io/v7/api-reference/spaces/moderation/moderate-entity.md): Approve or remove an entity within a space
- [Moderate Comment](https://docs.sublay.io/v7/api-reference/spaces/moderation/moderate-comment.md): Approve or remove a comment within a space
- [Moderate Message](https://docs.sublay.io/v7/api-reference/spaces/moderation/moderate-message.md): Approve or remove a chat message within a space
- [Handle Entity Report](https://docs.sublay.io/v7/api-reference/spaces/moderation/handle-entity-report.md): Resolve an entity report within a space
- [Handle Comment Report](https://docs.sublay.io/v7/api-reference/spaces/moderation/handle-comment-report.md): Resolve a reported comment within a space
- [Handle Message Report](https://docs.sublay.io/v7/api-reference/spaces/moderation/handle-message-report.md): Resolve a reported chat message within a space

### Space — Chat

- [Get Space Conversation](https://docs.sublay.io/v7/api-reference/spaces/chat/get-space-conversation.md): Get or create the chat conversation for a space

### Workspace Endpoints

- [Create Workspace](https://docs.sublay.io/v7/api-reference/workspaces/create-workspace.md): Create a root or child workspace
- [List Workspaces](https://docs.sublay.io/v7/api-reference/workspaces/fetch-workspaces.md): List the caller's direct-membership + owned workspaces
- [Fetch Workspace](https://docs.sublay.io/v7/api-reference/workspaces/fetch-workspace.md): Read a single workspace, visibility-filtered
- [Update Workspace](https://docs.sublay.io/v7/api-reference/workspaces/update-workspace.md): Edit a workspace's name and metadata
- [Flip Inherit Flag](https://docs.sublay.io/v7/api-reference/workspaces/update-inherit-flag.md): Owner-only flip of the reach/inherit flag
- [Delete Workspace](https://docs.sublay.io/v7/api-reference/workspaces/delete-workspace.md): Owner-only delete that cascades the subtree
- [Transfer Ownership](https://docs.sublay.io/v7/api-reference/workspaces/transfer-ownership.md): Owner-only ownership transfer, keeping ownerId and member rows disjoint
- [Read Authority](https://docs.sublay.io/v7/api-reference/workspaces/fetch-authority.md): The resolved standing of a user on a workspace — permissions as a service

### Workspace — Membership

- [List Members](https://docs.sublay.io/v7/api-reference/workspaces/members/list-members.md): The unified roster — one entry per distinct user, each with a reasons array
- [Fetch Member Standing](https://docs.sublay.io/v7/api-reference/workspaces/members/fetch-member-standing.md): A user's full resolved standing on a workspace, addressed by userId
- [Update Member](https://docs.sublay.io/v7/api-reference/workspaces/members/update-member.md): Edit a member's access or profile fields, with two capability tiers
- [Remove Member](https://docs.sublay.io/v7/api-reference/workspaces/members/remove-member.md): Remove a member (rank-bounded; sole-owner protected)
- [Leave Workspace](https://docs.sublay.io/v7/api-reference/workspaces/members/leave-workspace.md): Remove your own membership on this node
- [Remove From Subtree](https://docs.sublay.io/v7/api-reference/workspaces/members/remove-from-subtree.md): Offboarding convenience — remove a user from this workspace and the descendants you can reach

### Workspace — Invitations

- [Create Invite](https://docs.sublay.io/v7/api-reference/workspaces/invitations/create-invite.md): Invite a user by email, userId, or username
- [List Workspace Invites](https://docs.sublay.io/v7/api-reference/workspaces/invitations/list-invites.md): List a workspace's live pending invites
- [Revoke Invite](https://docs.sublay.io/v7/api-reference/workspaces/invitations/revoke-invite.md): Revoke a pending invitation
- [Resend Invite](https://docs.sublay.io/v7/api-reference/workspaces/invitations/resend-invite.md): Refresh a lapsed pending invitation and resend the email
- [Accept Invite](https://docs.sublay.io/v7/api-reference/workspaces/invitations/accept-invite.md): Accept an invitation — identity-matched + verified-email, no token
- [Decline Invite](https://docs.sublay.io/v7/api-reference/workspaces/invitations/decline-invite.md): Decline an invitation — identity-matched and verification-gated
- [List My Invites](https://docs.sublay.io/v7/api-reference/workspaces/invitations/list-my-invites.md): The authenticated user's live pending invites

### Event Endpoints

- [Create Event](https://docs.sublay.io/v7/api-reference/events/create-event.md): Create an event, optionally with a cover image and gallery
- [Fetch Event](https://docs.sublay.io/v7/api-reference/events/fetch-event.md): Fetch a single event by ID, with visibility enforced
- [Fetch Many Events](https://docs.sublay.io/v7/api-reference/events/fetch-many-events.md): List events with visibility enforcement, filtering, sorting, geo, and free-text search
- [Update Event](https://docs.sublay.io/v7/api-reference/events/update-event.md): Edit an event's mutable fields and curate its images (host-only)
- [Cancel Event](https://docs.sublay.io/v7/api-reference/events/cancel-event.md): Cancel an event without deleting it (host-only)
- [Delete Event](https://docs.sublay.io/v7/api-reference/events/delete-event.md): Permanently or soft-delete an event and clean up its children (host-only)
- [Set RSVP](https://docs.sublay.io/v7/api-reference/events/set-rsvp.md): Set or change the caller's RSVP to an event
- [Withdraw RSVP](https://docs.sublay.io/v7/api-reference/events/withdraw-rsvp.md): Remove the caller's RSVP from an event
- [Add Host](https://docs.sublay.io/v7/api-reference/events/add-host.md): Grant a user host privileges on an event (host-only)
- [Remove Host](https://docs.sublay.io/v7/api-reference/events/remove-host.md): Revoke a user's host privileges on an event (host-only)
- [Add Invite](https://docs.sublay.io/v7/api-reference/events/add-invite.md): Invite a user to an event (host-only)
- [Remove Invite](https://docs.sublay.io/v7/api-reference/events/remove-invite.md): Revoke a user's invite to an event (host-only)
- [Fetch Invitees](https://docs.sublay.io/v7/api-reference/events/fetch-invitees.md): List an event's invited users (host-only)
- [Fetch Event RSVPs](https://docs.sublay.io/v7/api-reference/events/fetch-event-rsvps.md): List the named guest list (who RSVP'd) for an event

### Reputation Grant Endpoints

- [Create Reputation Grant](https://docs.sublay.io/v7/api-reference/reputation-grants/create-reputation-grant.md): Transfer reputation from one user's bucket to another user's bucket in the same space
- [Mint Reputation Grant](https://docs.sublay.io/v7/api-reference/reputation-grants/mint-reputation-grant.md): Create reputation from nothing — or destroy it — and credit a user's bucket
- [Fetch Many Reputation Grants](https://docs.sublay.io/v7/api-reference/reputation-grants/fetch-many-reputation-grants.md): List positive reputation grants by recipient, by sender, or by rewarded item
- [Fetch User Grant History](https://docs.sublay.io/v7/api-reference/reputation-grants/fetch-user-grant-history.md): A single user's full grant history, negative grants included — the only surface that exposes them

### Storage Endpoints

- [Upload Image](https://docs.sublay.io/v7/api-reference/storage/upload-image.md): Upload an image with server-side processing and named variant generation
- [Upload File](https://docs.sublay.io/v7/api-reference/storage/upload-file.md): Upload a generic file without server-side processing
- [Fetch File](https://docs.sublay.io/v7/api-reference/storage/fetch-file.md): Retrieve file metadata and proxy URLs by file ID
- [Delete File](https://docs.sublay.io/v7/api-reference/storage/delete-file.md): Delete a file and all its variants from storage

### Utils

- [Get URL Metadata](https://docs.sublay.io/v7/api-reference/utils/get-metadata.md): Fetch Open Graph and social metadata for any URL

### Crypto

- [Sign Testing JWT](https://docs.sublay.io/v7/api-reference/crypto/sign-testing-jwt.md): Generate a signed RS256 JWT for development and testing
