# Get Sender Domain

Reads a sender domain’s stored verification status, usability, last DNS recheck and covered sender addresses, including subdomains. Listed addresses may still be unconfirmed; no DNS lookup occurs.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "domainId": {
      "type": "integer",
      "description": "ID of the sender domain, as shown in the domain settings",
      "minimum": 1
    },
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "description": "User ID of the account that owns the domain; omit for the account the access token belongs to, or pass a subaccount the token owner may configure",
      "default": null,
      "minimum": 1
    }
  },
  "required": [
    "domainId"
  ],
  "additionalProperties": false
}
```

## Output schema:

```json
{
  "type": "object",
  "required": [
    "accountId",
    "domain",
    "dkimOnly",
    "lastDnsCheckRequestedAt",
    "senderAddresses"
  ],
  "properties": {
    "accountId": {
      "type": "integer"
    },
    "domain": {
      "type": "object",
      "required": [
        "id",
        "domain",
        "status",
        "statusExplanation",
        "isUsableForSending",
        "usableFrom",
        "isDefault",
        "dkimOnly",
        "settingsUrl"
      ],
      "properties": {
        "id": {
          "type": "integer"
        },
        "domain": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "new",
            "active",
            "verified"
          ]
        },
        "statusExplanation": {
          "type": "string"
        },
        "isUsableForSending": {
          "type": "boolean"
        },
        "usableFrom": {
          "type": [
            "string",
            "null"
          ]
        },
        "isDefault": {
          "type": "boolean"
        },
        "dkimOnly": {
          "type": "boolean"
        },
        "settingsUrl": {
          "type": "string"
        }
      }
    },
    "dkimOnly": {
      "type": "boolean"
    },
    "lastDnsCheckRequestedAt": {
      "type": [
        "string",
        "null"
      ]
    },
    "senderAddresses": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}
```

