> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getscale.ng/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Domain Instructions

Retrieves exact DNS records verification information (A records, CNAME values, and ownership TXT records) required to point your custom domain correctly.

### Authorizations

<ParamField header="X-Shop-API-Key" type="string" required>
  Your Secret API Key (`sk_live_...` or `sk_test_...`) generated from the Developer dashboard. Must be kept secret.
</ParamField>

### Path Parameters

<ParamField path="shopId" type="string" required>
  The unique UUID of the shop.
</ParamField>

### Query Parameters

<ParamField query="domain" type="string" required>
  The custom domain to query details for.
</ParamField>

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "status": "success",
    "data": {
      "domain": "myshop.com",
      "misconfigured": true,
      "verificationNote": "Complete DNS verification setup below",
      "config": {
        "a_records": [
          "76.76.21.21"
        ],
        "cname_records": [
          "cname.vercel-dns.com"
        ]
      }
    }
  }
  ```

  ```json 400 Bad Request theme={null}
  {
    "message": "FORM_VALIDATION_ERROR",
    "code": 400,
    "validationErrors": [
      {
        "path": [
          "domain"
        ],
        "message": "Invalid domain format"
      }
    ]
  }
  ```
</ResponseExample>
