Skip to main content
GET
Get Directory Meta

Get Directory Meta

Returns configuration settings and tag cloud data for the customer member directory. The portal uses this to determine whether the directory is enabled, what content it shows, and which filter tags to display in the directory sidebar.

Authentication

Requires a valid customer bearer token.

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.

Response

Meta.DirectoryEnabled
boolean
true when the member directory feature is active for this location. When false, the directory page should not be rendered.
Meta.DirectoryContents
number
Controls whose profiles appear in the directory: - 1 — Published profiles only - 2 — Published profiles with an active plan - 3 — Everyone (all customers) - 4 — Everyone with an active plan
Meta.DirectoryRecords
number
Controls what record types appear: - 1 — Teams and individual members - 2 — Teams only - 3 — Individual members only
Meta.OnlyInvoicingSpace
boolean
When true, only customers invoiced at the current location are shown in the directory.
Meta.ShowCheckInMembers
boolean
When true, customers who are currently checked in are highlighted in the directory.
Meta.Tags
array
Tag cloud used to populate the directory filter sidebar. Each entry represents a tag and its relative frequency.
Meta.Tags[].Tag
string
The tag string value (matches entries in Coworker.ProfileTagsList).
Meta.Tags[].Count
number
Number of published profiles that have this tag.
Meta.Tags[].Percentage
number
This tag’s share of total tagged profiles, as a percentage (0–100).

Example Response

TypeScript Integration

Usage in Portal

Error Responses

401 Unauthorized
error
The bearer token is missing, expired, or invalid.