# List all alerts

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "CM.Email.Configuration.API - Alerts Only",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.cm.com/email/alerts"
    }
  ],
  "paths": {
    "/v1/account/{logicalAccount}/alerts/list": {
      "get": {
        "tags": [
          "EmailAlerts"
        ],
        "parameters": [
          {
            "name": "logicalAccount",
            "in": "path",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EmailAlertListControllerResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailAlertListControllerResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailAlertListControllerResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "EmailAlert": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "logicalAccountId": {
            "type": "string",
            "format": "uuid"
          },
          "alertName": {
            "type": "string",
            "nullable": true
          },
          "metric": {
            "type": "string",
            "nullable": true
          },
          "threshold": {
            "type": "string",
            "nullable": true
          },
          "recipient": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "EmailAlertListControllerResponse": {
        "type": "object",
        "properties": {
          "isSuccess": {
            "type": "boolean"
          },
          "statusCode": {
            "$ref": "#/components/schemas/StatusCode"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EmailAlert"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StatusCode": {
        "enum": [
          200,
          400,
          404,
          500,
          999
        ],
        "type": "integer",
        "format": "int32"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 104,
      "1": 164,
      "2": 40,
      "3": 200,
      "4": 140,
      "5": 247,
      "6": 145,
      "7": 253,
      "8": 56,
      "9": 171,
      "10": 77,
      "11": 54
    }
  }
}
```