Business & Configuration
Get Business Colors
Retrieve the custom brand color palette configured for a specific Nexudus location.
GET
Get Business Colors
Documentation Index
Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
Use this file to discover all available pages before exploring further.
Get Business Colors
Returns a key-value map of colour tokens configured for a specific location. The portal uses these values to apply the operator’s brand palette at runtime, overriding the default theme. Colours are stored as CSS-compatible hex or RGB strings.Authentication
Requires a valid customer bearer token.Path Parameters
The numeric identifier of the location whose colour palette you want to retrieve.
Response
Returns a flatRecord<string, string> object where each key is a colour token name and each value is a CSS colour string.
TypeScript Integration
Usage in Portal
| Context | Source file |
|---|---|
| Location branding / theme injection | src/states/useLocationByRouteContext.tsx |
Error Responses
The bearer token is missing, expired, or invalid.
No location with the given
businessId was found.Related Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | /api/public/businesses/current | Get the current location details |
GET | /api/public/configuration | Get portal configuration for a space |
Get Business Colors