---
title: "List all domains configured for the Google Workspace integration instance"
method: GET
path: "/gsuites/{gsuite_id}/domains"
tags: ["G Suite"]
---

# List all domains configured for the Google Workspace integration instance

`GET /gsuites/{gsuite_id}/domains`

## Request

- Base URL: `https://console.jumpcloud.com/api/v2`
- URL: `https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/domains`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/docs/gsuites/:gsuite_id/domains/get.ts> (a function with typed inputs; its response is checked against the schema)

List the domains configured for a specific Google Workspace directory sync integration instance.

#### Sample Request
```
curl -X GET https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/domains \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: {API_KEY}'
```

## Path parameters

- `gsuite_id` string, byte, required

## Query parameters

- `limit` string, int64
- `skip` string, int64

## Response `200`

OK

- JumpcloudGappsDomainListResponse
  - `domains` JumpcloudGappsDomain[]
    - `accountObjectId` string, byte: Unique identifier of the GSuite.
    - `default` boolean: Suggests if the domain is default
    - `domain` string: name of the domain
    - `objectId` string, byte: Unique identifier of the Domain.
  - `totalCount` integer

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `default`: An unexpected error response.

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/revisions/3f09fe63caaa?raw)
