# Get Sender Address

Reads one configured sender address with confirmation, customer domain, and the emails and signatures using it. Sent newsletters and sent newsletter split tests are excluded, so an empty usage list does not mean the address was never used.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "description": "Configured sender email address to inspect",
      "minLength": 3
    },
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "description": "User ID of the account; omit for the account of the access token",
      "default": null,
      "minimum": 1
    }
  },
  "required": [
    "email"
  ],
  "additionalProperties": false
}
```

## Output schema:

```json
{
  "type": "object",
  "required": [
    "accountId",
    "address",
    "emailUsages",
    "signatureUsages"
  ],
  "properties": {
    "accountId": {
      "type": "integer"
    },
    "address": {
      "type": "object",
      "required": [
        "email",
        "displayEmail",
        "isAccountAddress",
        "isConfirmed",
        "isUsableForSending",
        "status",
        "statusExplanation",
        "senderDomain",
        "domainUsableForSending",
        "settingsUrl"
      ],
      "properties": {
        "email": {
          "type": "string"
        },
        "displayEmail": {
          "type": "string"
        },
        "isAccountAddress": {
          "type": "boolean"
        },
        "isConfirmed": {
          "type": "boolean"
        },
        "isUsableForSending": {
          "type": "boolean"
        },
        "status": {
          "type": "string",
          "enum": [
            "dkim-valid",
            "dkim-invalid",
            "not-confirmed",
            "not-configured",
            "no-domain",
            "domain-not-verified"
          ]
        },
        "statusExplanation": {
          "type": "string"
        },
        "senderDomain": {
          "type": [
            "string",
            "null"
          ]
        },
        "domainUsableForSending": {
          "type": "boolean"
        },
        "settingsUrl": {
          "type": "string"
        }
      }
    },
    "emailUsages": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "type",
          "isSplitTest",
          "editUrl"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "isSplitTest": {
            "type": "boolean"
          },
          "editUrl": {
            "type": "string"
          }
        }
      }
    },
    "signatureUsages": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "type",
          "isSplitTest",
          "editUrl"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "isSplitTest": {
            "type": "boolean"
          },
          "editUrl": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

