# Search Sender Addresses

Searches all configured sender addresses (stored state) with confirmation, customer domain and sending usability. An unconfirmed address cannot send even when its domain is verified. Use get-sender-address for email and signature usage.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "description": "User ID of the account; omit for the account of the access token",
      "default": null,
      "minimum": 1
    }
  },
  "additionalProperties": false
}
```

## Output schema:

```json
{
  "type": "object",
  "required": [
    "accountId",
    "count",
    "addresses"
  ],
  "properties": {
    "accountId": {
      "type": "integer"
    },
    "count": {
      "type": "integer"
    },
    "addresses": {
      "type": "array",
      "items": {
        "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"
          }
        }
      }
    }
  }
}
```

