---
updatedAt: 2025-06-05T08:36:13.000Z
agentTools:
  projectIndex: https://sectigoweb.dev/llms.txt
---

# Records - List

This endpoint lists DNS records for a website.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "website-dns",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://platform.sectigo.com/v2/websites"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "query",
        "name": "api_key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/{website_id}/dns/records": {
      "get": {
        "summary": "Records - List",
        "description": "",
        "operationId": "dns-records-list",
        "parameters": [
          {
            "name": "website_id",
            "in": "path",
            "description": "The ID of the Website to get DNS records for.",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "[\n  {\n    \"dns_zone_record\":{\n      \"id\":32,\n      \"name\":\"foo\",\n      \"record_type\":\"A\",\n      \"content\":\"127.0.0.1\",\n      \"ttl\":300\n    }\n  },\n  {\n    \"dns_zone_record\":{\n      \"id\":33,\n      \"name\":\"bar\",\n      \"record_type\":\"A\",\n      \"content\":\"192.168.1.1\",\n      \"ttl\":300\n    }\n  }\n]"
                  }
                },
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "dns_zone_record": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "integer",
                            "example": 32,
                            "default": 0
                          },
                          "name": {
                            "type": "string",
                            "example": "foo"
                          },
                          "record_type": {
                            "type": "string",
                            "example": "A"
                          },
                          "content": {
                            "type": "string",
                            "example": "127.0.0.1"
                          },
                          "ttl": {
                            "type": "integer",
                            "example": 300,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "Content-type",
        "value": "application/json"
      },
      {
        "key": "Accept",
        "value": "application/json"
      }
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```