Get Directory Meta
Returns metadata that controls how the community directory behaves — including whether the directory is enabled, what content it shows (teams only, members only, or both), the tag cloud for filtering, and any custom fields configured for directory search.
Authentication
Requires a valid customer bearer token.
Response
The directory metadata object.
When true, the community directory is enabled for this location.
Controls which profiles appear in the directory: 1 = Published profiles, 2 = Published profiles with a price plan, 3 = Everyone, 4 =
Everyone with a price plan.
Controls the record types shown: 1 = Teams and members, 2 = Only teams, 3 = Only members.
When true, only members from the invoicing space are shown.
When true, members who are currently checked in are highlighted.
Tag cloud entries derived from all published profiles.
Number of profiles using this tag.
Relative weight of this tag as a percentage — used to size tags in a tag cloud UI.
Custom fields configured for directory search.
Unique identifier of the custom field.
Display name of the custom field.
Meta.CustomFields[].FieldType
Field type (e.g., "Text", "Dropdown").
Meta.CustomFields[].CustomFieldIndex
Index used to map the field to the correct slot.
Meta.CustomFields[].DisplayInDirectorySearch
When true, this field appears as a search filter in the directory UI.
Meta.CustomFields[].NameInSearch
Label shown in the search filter UI.
Meta.CustomFields[].AvailableOptions
Available values for dropdown-type fields.
Examples
GET /api/public/teams/directory/meta
Authorization: Bearer {token}
{
"Meta": {
"DirectoryEnabled": true,
"DirectoryContents": 1,
"DirectoryRecords": 1,
"OnlyInvoicingSpace": false,
"ShowCheckInMembers": true,
"Tags": [
{ "Tag": "technology", "Count": 8, "Percentage": 40 },
{ "Tag": "design", "Count": 5, "Percentage": 25 },
{ "Tag": "marketing", "Count": 4, "Percentage": 20 }
],
"CustomFields": [
{
"Id": 1,
"Name": "Industry",
"FieldType": "Dropdown",
"CustomFieldIndex": 0,
"DisplayInDirectorySearch": true,
"NameInSearch": "Industry",
"AvailableOptions": ["Technology", "Finance", "Design", "Marketing"]
}
]
}
}
TypeScript Integration
import { endpoints } from '@/api/endpoints'
import { DirectoryMetaData } from '@/types/endpoints/DirectoryMeta'
import { useData } from '@/hooks/useData'
const { resource: meta } = useData<DirectoryMetaData>(httpClient, endpoints.teams.directory.meta)
Usage in Portal
| Context | Source file |
|---|
Community directory (/community/directory) | src/views/community/directory/components/useDirectoryData.ts |
Error Responses
The customer is not authenticated or the session has expired.
| Method | Endpoint | Description |
|---|
GET | /api/public/teams/published | List published teams in the directory |
GET | /api/public/teams/published/{teamId} | Get a single published team profile |
GET | /api/public/teams/my | List the customer’s own teams |