Skip to main content
GET
/
api
/
public
/
coworkers
/
published
/
{coworkerId}
{
  "Coworker": {},
  "Coworker.Id": 123,
  "Coworker.FullName": "<string>",
  "Coworker.GuessedFirstName": "<string>",
  "Coworker.AvatarUrl": "<string>",
  "Coworker.Position": {},
  "Coworker.CompanyName": "<string>",
  "Coworker.ProfileSummary": {},
  "Coworker.ProfileWebsite": {},
  "Coworker.ProfileTagsList": [
    {}
  ],
  "401 Unauthorized": {},
  "404 Not Found": {}
}

Get Published Customer Profile

Returns the full directory profile for a single customer who has opted in to the member directory. The portal loads this when a customer opens a profile card in the member directory, displaying their professional bio, social links, location, and related profiles.

Authentication

Requires a valid customer bearer token.

Path Parameters

coworkerId
number
required
The numeric identifier of the customer profile to retrieve. Obtain this from GET /api/public/coworkers/published ([].Id).

Query Parameters

_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=Coworker.FullName,Coworker.CompanyName,Coworker.AvatarUrl.

Response

Returns a wrapper object containing a single Coworker property. See List Published Customer Profiles for the full set of coworker fields.
Coworker
Coworker
The published customer profile object.

Core Identity (within Coworker)

Coworker.Id
number
Unique numeric identifier for the customer profile.
Coworker.FullName
string
Customer’s display name.
Coworker.GuessedFirstName
string
First name inferred from FullName. Used in personalised UI messages.
Coworker.AvatarUrl
string
URL to the customer’s avatar image.

Professional Profile (within Coworker)

Coworker.Position
string | null
Job title.
Coworker.CompanyName
string
Company name.
Coworker.ProfileSummary
string | null
Full professional bio. May contain Markdown.
Coworker.ProfileWebsite
string | null
Personal or company website URL.
Coworker.ProfileTagsList
array
Array of tag strings from the customer’s profile.

Social Media (within Coworker)

FieldTypeDescription
Twitterstring | nullTwitter profile URL or handle
Linkedinstring | nullLinkedIn profile URL
Githubstring | nullGitHub profile URL or username
Instagramstring | nullInstagram handle or URL
Facebookstring | nullFacebook profile URL
Skypestring | nullSkype username
Telegramstring | nullTelegram username

Example Response

{
  "Coworker": {
    "Id": 101,
    "UniqueId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "FullName": "Jane Doe",
    "GuessedFirstName": "Jane",
    "AvatarUrl": "https://nexudushq.spaces.nexudus.com/media/coworker/101/avatar",
    "Position": "Product Designer",
    "CompanyName": "Acme Design Co.",
    "ProfileSummary": "Jane is a product designer with over 8 years of experience building intuitive digital products. She specialises in design systems and user research.",
    "ProfileWebsite": "https://janedoe.design",
    "ProfileTagsList": ["UX", "Design Systems", "Research"],
    "InvoicingSpaceName": "Nexudus HQ",
    "Linkedin": "https://linkedin.com/in/janedoe",
    "Twitter": null,
    "Github": "https://github.com/janedoe"
  }
}

TypeScript Integration

import endpoints from '@/api/endpoints'
import { Coworker } from '@/types/spaces/Coworker'
import { useData } from '@/api/fetchData'

const url = endpoints.coworkers.directory.published_one(coworkerId)
// => '/api/public/coworkers/published/101'

const { resource: coworkerData } = useData<{ Coworker: Coworker }>(httpClient, url)

Usage in Portal

ContextSource file
Member directory profile modalsrc/views/community/directory/components/CoworkersDirectoryProfileModal.tsx

Error Responses

401 Unauthorized
error
The bearer token is missing, expired, or invalid.
404 Not Found
error
No published profile with the given coworkerId was found, or the customer has set ProfileIsPublic to false.
MethodEndpointDescription
GET/api/public/coworkers/publishedList all published profiles in the directory
GET/api/public/coworkers/published/{coworkerId}/relatedGet profiles related to this customer
GET/api/public/coworkers/directory/metaGet directory settings and tag cloud