---
title: "Retrieves the collection of Domain resources."
method: GET
path: "/v1/domains"
tags: ["Domain"]
---

# Retrieves the collection of Domain resources.

`GET /v1/domains`

## Request

- Base URL: `https://api.fortrabbit.com`
- URL: `https://api.fortrabbit.com/v1/domains`
- Auth: HTTP bearer

Retrieves the collection of Domain resources.

## Query parameters

- `publicId[]` string[]
- `page` integer

## Response `200`

Domain collection

- DomainApiRead[]
  - `publicId` string
  - `type` 'apex' | 'subdomain' | 'environment_url' | 'cloud'
  - `name` string
  - `createdAt` string, date-time
  - `updatedAt` string, date-time
  - `environment` string, nullable
  - `isMain` boolean, nullable

---

[API](https://skmtc.dev/fortrabbit/apis/fortrabbit-api.md) · [All operations](https://skmtc.dev/fortrabbit/apis/fortrabbit-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fortrabbit/apis/fortrabbit-api/revisions/36ca73befa52?raw)
