---
title: "Lists all available SOA records."
method: GET
path: "/soa"
tags: ["soa"]
---

# Lists all available SOA records.

`GET /soa`

## Request

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

This endpoint lists all available SOA records, helping users manage and configure the authoritative DNS information for their domains.</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 data retrieval:** Returns a comprehensive list of all SOA records, providing a complete and accurate overview for seamless management and analysis.</br>- **Comprehensive error handling:** Returns a `401` error code with a clear description when requests fail.</br>- **Efficient sorting:** The `sortBy` parameter enables users to organize responses by various attributes, offering flexibility in result management.

## Query parameters

- `sortBy` 'createdTsAsc' | 'createdTsDesc' | 'createdAtAsc' | 'createdAtDesc' | 'updatedAtAsc' | 'updatedAtDesc' | 'modifiedTsAsc' | 'modifiedTsDesc' | 'ttlAsc' | 'ttlDesc' | 'nameAsc' | 'nameDesc' | 'primaryNameserverAsc' | 'primaryNameserverDesc' | 'emailAsc' | 'emailDesc' | 'startingSerialAsc' | 'startingSerialDesc' | 'serialAsc' | 'serialDesc' | 'refreshAsc' | 'refreshDesc' | 'retryAsc' | 'retryDesc' | 'expireAsc' | 'expireDesc' | 'negativeCacheAsc' | 'negativeCacheDesc'

## Response `200`

SOA records listed successfully.

- PrimarySOAS[]
  - PrimarySOA[]
    - `id` integer
    - `name` string
    - `primaryNameserver` string
    - `email` string
    - `ttl` integer
    - `startingSerial` string
    - `refresh` integer
    - `retry` integer
    - `expire` string
    - `negativeCache` integer
    - `createdTs` string
    - `modifiedTs` string
    - `isDefault` boolean
    - `domains` PrimaryIpSetDomains[]
      - `id` integer
      - `name` string

## Other responses

- `401`: Token is missing or expired.

---

[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)
