An organization is the central unit of your RefactKit application. Every user works within at least one organization, and everything — members, gallery images, settings, and any data you add — belongs to that organization exclusively. A single user account can belong to multiple organizations and switch between them freely.Documentation Index
Fetch the complete documentation index at: https://docs.refactkit.com/llms.txt
Use this file to discover all available pages before exploring further.
Creating an organization
New users land on the onboarding flow at/onboarding the first time they sign in. This is where they create their first organization.
Enter an organization name
Type a name for your organization. The name must be unique across the platform and at least one character long. A URL-friendly slug is automatically derived from the name (e.g.,
Acme Corp → acme-corp).Upload a logo (optional)
Add a logo image to help identify the organization. Logos are uploaded server-side and stored in Supabase Storage.
Organization slugs
Every organization has a slug — a unique, URL-safe identifier generated from its name. The slug is used in every workspace URL:Switching between organizations
If you belong to multiple organizations, you can switch between them using the organization switcher in the sidebar. Selecting a different organization navigates you to that organization’s dashboard at its slug URL. All data on screen is scoped to the currently active organization — no data from other workspaces bleeds through.Inviting members
Admins and Owners can invite people to their organization by email. Invited users receive an email with an acceptance link.Enter the invitee's email and role
Specify the email address and choose the role (Member or Admin) the person will have when they join.
Invitation email is sent
The invitee receives an email with a link to
/accept-invite?id=.... Invitations expire after 7 days.Managing membership
From the members page, Admins and Owners can:- View all current members and their roles
- Update a member’s role (Admins can update non-Owner members; Owners can update anyone)
- Remove members from the organization (Owner only)
Organization settings
Owners can update the organization’s name, slug, and logo from/organizations/:slug/settings.
- Updating name or slug
- Updating logo
Enter a new name or slug and save. Changing the slug updates the URL of the entire workspace — any bookmarks to the old URL will break. RefactKit does not create redirects automatically when a slug changes.
Gallery
Each organization has its own image gallery at/organizations/:slug/gallery. Gallery images are scoped to the organization — members of other organizations cannot see or access them.
Uploading images to the gallery works through a server-side function (gallery-fns.ts) that writes to Supabase Storage and records the URL in the gallery_image table with the organization’s ID. Images are served from Supabase’s public CDN URL.
