Skip to main content
GET
/
api
/
public
/
businesses
/
all
{
  "401 Unauthorized": {}
}

List All Businesses

Returns all locations (businesses) within the Nexudus network, optionally including the root organisation entry and locations that have been hidden from public views. Used by multi-location portals to build location pickers and network-wide navigation.

Authentication

Requires a valid customer bearer token.

Query Parameters

includeRoot
boolean
required
When true, the root organisation entry is included in the response alongside individual locations.
includeHidden
boolean
required
When true, locations that have been marked as hidden (not publicly listed) are included in the results.
_shape
string
Comma-separated list of field paths to include in the response. When provided, only the specified fields are returned — useful for reducing payload size. Supports nested paths using dot notation. Example: _shape=Name,WebAddress,Address,TownCity.

Response

Returns an array of location objects. Each entry follows the same shape as the GET /api/public/businesses/current response.

Business Fields

Identity

FieldTypeDescription
IdnumberUnique numeric identifier for the location
UniqueIdstringGlobally unique identifier

Core

FieldTypeDescription
NamestringDisplay name of the coworking space
WebAddressstringSubdomain identifier (e.g. "myspace")
AddressstringStreet address
TownCitystringTown or city
StatestringState or province
PhonestringPhone number
FaxstringFax number
EmailContactstringContact email address
WebContactstringContact website URL
QuotestringLocation tagline / quote
AboutUsstringAbout Us text
ShortIntroductionstringShort intro text

Localisation

FieldTypeDescription
CountryobjectCountry object (Id, Name, TwoDigitsCode)
CurrencyobjectCurrency object (Code, Name, Format)
SimpleTimeZoneobjectTimezone object

Location

FieldTypeDescription
Longitudenumber | nullLongitude coordinate
Latitudenumber | nullLatitude coordinate

Branding

FieldTypeDescription
HasLogobooleanWhether location has a logo
HasBannerbooleanWhether location has a banner
CurrentThemeNamestringActive theme name

Policies

FieldTypeDescription
CookiePolicyUrlstringCookie policy URL
PrivacyPolicyUrlstringPrivacy policy URL
TermsAndConditionsstringTerms and conditions

Network

FieldTypeDescription
IsChildLocationbooleanWhether this is a child location
RootBusinessIdnumber | nullParent location identifier
Businessesobject[]Child locations (if any)

Timestamps (from base)

FieldTypeDescription
CreatedOnstringDate created (business-local time)
UpdatedOnstring | nullDate last updated (business-local time)
CreatedOnUtcstringDate created (UTC)
UpdatedOnUtcstring | nullDate last updated (UTC)

## TypeScript Integration

```typescript
import endpoints from '@/api/endpoints'

const url = endpoints.system.business.businesses(false, false)
// => '/api/public/businesses/all?includeRoot=false&includeHidden=false'

const response = await httpClient.get(url)

Usage in Portal

ContextSource file
Multi-location switcher / network pickersrc/components/LocationSwitcher/
Passport / map viewsrc/views/passport/

Error Responses

401 Unauthorized
error
The bearer token is missing, expired, or invalid.
MethodEndpointDescription
GET/api/public/businesses/currentGet the current location
GET/api/public/businesses/withVisitorsGet locations with visitor registration enabled
GET/api/public/businesses/withTourGet locations that offer space tours