Search
Organization search
The organization search API lets you retrieve the current user’s organization data.
Example use cases
-
Get current organization
-
Get organization with custom fields and teams
Organization search response fields
Below are all the fields you may see in an organization search result. Many are optional and will only appear if included in your include_fields
parameter.
Core fields
Field | Type | Description |
---|---|---|
id | string | Unique organization identifier |
uid | string | Unique organization UID |
name | string | Organization name |
description | string | Organization description |
logoUrl | string | Logo URL or identifier |
slug | string | Organization slug |
allowSameDomainJoin | boolean | Whether to allow same domain join |
tier | string | Organization tier (e.g., ENTERPRISE) |
isActive | boolean | Whether the organization is active |
isVerified | boolean | Whether the organization is verified |
metadata | object | Custom metadata |
createdAt | string | Creation timestamp (ISO8601) |
updatedAt | string | Last update timestamp (ISO8601) |
deletedAt | string | Deletion timestamp (ISO8601) |
Extended fields (with include_fields)
Field | Type | Description |
---|---|---|
standardFields | array | Array of standard field definitions |
customFields | array | Array of custom field definitions |
customFieldValues | array | Array of custom field values |
teams | array | Array of teams in the organization |
sources | array | Array of sources configured |
Standard field structure
When standardFields
is included, each field object contains:
Field | Type | Description |
---|---|---|
id | string | Field identifier |
name | string | Human-readable field name |
type | string | Field type (string, text, url, boolean) |
description | string | Field description |
mandatoryOnCreation | boolean | Whether field is required on creation |
mandatoryOnClose | boolean | Whether field is required on close |
visibleToCustomer | boolean | Whether field is visible to customers |
editableByCustomer | boolean | Whether field is editable by customers |
isStandard | boolean | Whether this is a standard field |
For a full list, see the OrganizationSearchResponseDto in the API reference.
Include fields options
Use the include_fields
parameter to include additional data:
standardFields
: Include standard field definitionscustomFields
: Include custom field definitionscustomFieldValues
: Include custom field valuesteams
: Include teams in the organizationsources
: Include configured sources
Example:
Tip: Use the include_fields
parameter to limit the response to only the fields you need for performance and clarity. Only request extended fields when you need the additional data.