---
title: "List active domains"
method: GET
path: "/domains"
tags: ["Domains"]
---

# List active domains

`GET /domains`

Retrieves all active domains for the authenticated tenant

## Response `200`

Successfully retrieved domain list

- RestmailstackDomainsResponse — Response containing list of domains and status
  - `domains` RestmailstackDomainRecord[] — List of domains required: true
    - `createdDate` string — Domain registration date required: true format: date example: 2024-09-14
    - `domain` string — Registered domain name required: true example: example.com
    - `expiredDate` string — Domain expiration date required: true format: date example: 2025-09-14
    - `nameservers` string[] — List of assigned nameservers required: true minItems: 2 example: ["ns1.example.com","ns2.example.com"]
  - `requestId` string
  - `status` string — Status indicates the result of the operation ("success" or "error")

## Other responses

- `401` — Unauthorized - Missing or invalid API key
- `500` — Internal server error - Unable to retrieve domains

---

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