Organizations and URLs
How the tenant is resolved in public pages, dashboard, domains, and API.
Organizations and URLs
The organization is never inferred from an ID freely supplied by a client. It is established from an explicit path or a host that the server has already verified.
Canonical URLs
| Surface | Pattern |
|---|---|
| Public landing page | /o/{organizationSlug} |
| Organization login | /o/{organizationSlug}/login |
| Dashboard | /o/{organizationSlug}/dashboard |
| Public Event | /o/{organizationSlug}/events/{eventSlug} |
| Organization API | /api/organizations/{organizationSlug}/{resource} |
organizationSlug uses lowercase letters, numbers, and hyphens. It is the stable identifier for links and API clients; the organization’s display name may change without changing it.
Custom domains
An organization can configure a domain and optionally serve its landing page at the apex. It may also choose a subdomain for the landing page and labels for individual Events. For example:
https://community.example/ organization landing page
https://meetup.community.example/ concrete EventThe browser preserves that public URL while the server resolves it to the correct tenant. API calls should still use the /api/organizations/{organizationSlug} namespace: it is explicit, auditable, and also works without a custom domain.
Switching organizations
The session identifies the person; the URL identifies the tenant. Switching organizations does not elevate a role: the server checks an active membership and its role again in the destination tenant.
A 404 on a protected route may represent a missing organization, inactive membership, or insufficient role. This uniform response avoids disclosing organizations and permissions to third parties.
Integration rules
- Do not save an
organizationIddiscovered in one organization for reuse in another. - Build every endpoint from the slug configured for that integration.
- Do not send
x-organization-*headers; the server removes client-supplied values. - Do not mix resource IDs from different tenants.
- After changing a domain, wait for DNS verification before publishing final links.