# List Email Logs

List the email sending logs in the system. The emails sent via 3rd party email accounts are listed here.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Account Operations: System admin",
    "description": "The official SeaTable API Reference (OpenAPI 3.0).",
    "version": "6.2"
  },
  "servers": [
    {
      "url": "https://{server}",
      "variables": {
        "server": {
          "default": "cloud.seatable.io"
        }
      }
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "metrics-enabled": false,
    "proxy-enabled": false
  },
  "tags": [
    {
      "name": "Logs",
      "description": "Retrieve logs"
    }
  ],
  "components": {
    "securitySchemes": {
      "AccountTokenAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "This is the [Account-Token](/reference/authentication)."
      }
    },
    "parameters": {
      "page": {
        "name": "page",
        "description": "The page number you want to start showing the entries. If no value is provided, 1 will be used.",
        "in": "query",
        "schema": {
          "type": "integer",
          "minimum": 1
        },
        "example": 1,
        "required": false
      },
      "per_page": {
        "name": "per_page",
        "in": "query",
        "schema": {
          "type": "integer",
          "minimum": 1
        },
        "description": "The number of results that should be returned. If no value is provided, 25 results will be returned.",
        "example": 25,
        "required": false
      }
    }
  },
  "paths": {
    "/api/v2.1/admin/email-sending-logs/": {
      "get": {
        "tags": [
          "Logs"
        ],
        "summary": "List Email Logs",
        "operationId": "listEmailLogs",
        "description": "List the email sending logs in the system. The emails sent via 3rd party email accounts are listed here.",
        "security": [
          {
            "AccountTokenAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/page"
          },
          {
            "$ref": "#/components/parameters/per_page"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "email_sending_logs": [
                    {
                      "create_time": "2021-08-23T13:27:22+00:00",
                      "name": "automation-rules",
                      "host": "smtp.web.de",
                      "success": true
                    }
                  ],
                  "count": 1
                }
              }
            }
          }
        }
      }
    }
  },
  "_id": {
    "buffer": {
      "0": 105,
      "1": 212,
      "2": 220,
      "3": 12,
      "4": 20,
      "5": 34,
      "6": 131,
      "7": 31,
      "8": 141,
      "9": 111,
      "10": 187,
      "11": 146
    }
  }
}
```