Skip to main content
GET
/
domains
/
{id}
/
dns-records
Typescript (SDK)
import { Crevio } from "@crevio/sdk";

const crevio = new Crevio({
  apiKey: process.env["CREVIO_API_KEY"] ?? "",
});

async function run() {
  const result = await crevio.domains.dnsRecords({
    id: "<id>",
  });

  console.log(result);
}

run();
{
  "data": [
    {
      "type": "<string>",
      "name": "<string>",
      "value": "<string>",
      "priority": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

API key in the format: Bearer {api_token}

Path Parameters

id
string
required

The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")

Response

DNS records

object
enum<string>
Available options:
list
data
object[]