---
title: "Returns the details of a specific secondary domain."
method: GET
path: "/domains/secondary/{domainId}"
tags: ["domains - secondary"]
---

# Returns the details of a specific secondary domain.

`GET /domains/secondary/{domainId}`

## Request

- Base URL: `https://manager.digicertdns.com/v1`
- URL: `https://manager.digicertdns.com/v1/domains/secondary/{domainId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/digicert/apis/digicert-dns/docs/domains/secondary/:domainId/get.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint returns the details of a specific secondary domain, helping users manage and configure it effectively.</br></br>Key features include:</br></br>- **Clear success messaging:** Returns a `200` success code with a confirmation message indicating the successful completion of the requested action.</br>- **Comprehensive error handling:** Returns `400` and `404` error codes with clear descriptions when requests fail.</br>- **Targeted data retrieval:** Employs the `domainId` parameter to return the specified domain's details, ensuring accuracy and relevance in the response.

## Path parameters

- `domainId` integer, required

## Response `200`

Secondary domain returned successfully.

- SecondaryDomains[]
  - `id` integer
  - `name` string
  - `type` string
  - `lastZoneTransferAt` string
  - `zoneTransferStatus` string
  - `createdAt` string
  - `updatedAt` string
  - `status` string: status of the domain is active, pending or disabled.
  - `queries` DomainStats
    - `total` integer
    - `refused` integer
    - `servfail` integer
    - `notimpl` integer
    - `responsecount` integer
    - `noerror` integer
    - `nxdomain` integer
    - `formerr` integer
  - `secondaryIpSetConfig` SecondaryDomainsSecondaryIpSetConfig
    - `secondaryIPSetId` integer
    - `name` string
    - `transferFrom` array[]
      - string[]

## Other responses

- `400`: Request is malformed or invalid.
- `404`: Resource not found.

---

[API](https://skmtc.dev/digicert/apis/digicert-dns.md) - [All operations](https://skmtc.dev/digicert/apis/digicert-dns/llms.txt) - [OpenAPI document](https://skmtc.dev/digicert/apis/digicert-dns/revisions/c74fc728cff8?raw)
