What are Spaces?
Spaces are organizational units within a network where content and members are organized. Think of them as communities, groups, or channels within your larger network. Spaces help you:- Organize content by topic or purpose
- Control access and permissions
- Create focused communities within your network
- Manage members at a granular level
Space Properties
Each space includes:- Space ID - Unique identifier for the space
- Name - Display name of the space
- Visibility - Public, private, or secret
- Members - Users who have access to this space
- Posts - Content created within the space
- Settings - Configuration for moderation, features, etc.
Listing Spaces
Get all spaces in your network:Example Response
Getting a Specific Space
Retrieve details about a single space:Space Membership
Listing Members in a Space
Get all members who have access to a specific space:Adding Members to a Space
Add a user to a space:Removing Members from a Space
Remove a user from a space:Space Roles
Members can have different roles within a space:- Host - Can manage space settings, content, and members
- Member - Standard access to view and create content
- Moderator - Can moderate content but not change settings
Updating Member Roles
Change a member’s role in a space:Common Use Cases
Bulk Member Assignment
Add multiple users to a space:Space Analytics
Get member count for each space:Automated Space Assignment
Automatically assign new members to a default space:Best Practices
- Organize Content Logically - Use spaces to group related content and discussions
- Manage Permissions Carefully - Consider who should have access to each space
- Use Pagination - Always paginate when listing space members
- Handle Errors - Check for 404 errors if a space doesn’t exist
- Respect Rate Limits - Be mindful when performing bulk operations across spaces