Skip to main content
GET
/
v2
/
organizations
/
{organizationId}
/
directories
curl "https://api.orbitsearch.com/v2/organizations/$ORGANIZATION_ID/directories" \
  -H "Authorization: Bearer $USER_ACCESS_TOKEN"
{
  "directories": [
    {}
  ]
}
Returns all directories belonging to the specified organization, including any auto-created directories such as Personal Connections.

Path parameters

organizationId
string
required
The UUID of the organization whose directories you want to list.

Response fields

directories
object[]
Array of directory objects. Each object contains the same fields as a single directory response: id, name, type, and org_id.
curl "https://api.orbitsearch.com/v2/organizations/$ORGANIZATION_ID/directories" \
  -H "Authorization: Bearer $USER_ACCESS_TOKEN"