GET
/
domains
/
{id}
TypeScript
import Nuntly from '@nuntly/sdk';

const client = new Nuntly({
  apiKey: 'My API Key',
});

const domain = await client.domains.retrieve('dns_FdfQe2eZAzRrHCXKSr7VsxUz');

console.log(domain.id);
{
  "data": {
    "id": "<string>",
    "org_id": "<string>",
    "name": "<string>",
    "sending_records": [
      {
        "name": "<string>",
        "fullname": "<string>",
        "type": "TXT",
        "ttl": "<string>",
        "group": "DKIM",
        "selector": "<string>",
        "priority": "<string>",
        "value": "<string>",
        "region": "eu-west-1",
        "status": "bootstrapping",
        "kind": "record",
        "status_at": "<string>"
      }
    ],
    "status": "bootstrapping",
    "sending_status": "enabled",
    "status_at": "<string>",
    "open_tracking": true,
    "click_tracking": true,
    "created_at": "2023-11-07T05:31:56Z",
    "modified_at": "2023-11-07T05:31:56Z",
    "region": "eu-west-1",
    "kind": "domain"
  }
}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers Authorization: Bearer <API_KEY>

Path Parameters

id
string
required

The domain id previously created

Response

200
application/json

A successful response

The response is of type object.