---
title: "Query Company Domains"
method: GET
path: "/company-domains"
tags: ["CompanyDomain"]
---

# Query Company Domains

`GET /company-domains`

Used to query company domains

## Query parameters

- `companyId` string
- `domainName` string
- `limit` integer
- `cursor` string

## Response `200`

Results of the query

- CompanyDomainQueryResult
  - `domains` CompanyDomain[] — All company domains that matched the query
    - `id` string — The ID of the company domain
    - `company_id` string — The ID of the company that owns the domain
    - `created_time` integer — Time at which the domain was created
    - `created_by_id` string — The ID of the user who created this domain
    - `last_updated_time` integer — Time at which the domain was last updated
    - `last_updated_by_id` string — The ID of the user who last updated this domain
    - `domain_name` string — The fully qualified domain name
    - `sso_locking_enabled` boolean — If enabled forces users from this domain (email) to log using SSO
  - `cursor` string — Cursor used for pagination

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `default` — Unknown error

---

[API](https://skmtc.net/mabl/apis/mabl-api.md) · [All operations](https://skmtc.net/mabl/apis/mabl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mabl/mabl-api/revisions/d0fc0114da66/schema)
