---
updatedAt: 2026-10-06T17:40:26.000Z
agentTools:
  projectIndex: https://docs.akeyless.io/llms.txt
---

# /event-forwarder-create-email

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "contact": {
      "email": "support@akeyless.io",
      "name": "Akeyless",
      "url": "http://akeyless.io"
    },
    "description": "The purpose of this application is to provide access to Akeyless API.",
    "title": "Operations & integrations",
    "version": "3.0"
  },
  "paths": {
    "/event-forwarder-create-email": {
      "post": {
        "operationId": "eventForwarderCreateEmail",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/eventForwarderCreateEmail"
              }
            }
          },
          "required": true,
          "x-go-name": "Body"
        },
        "responses": {
          "201": {
            "$ref": "#/components/responses/eventForwarderCreateEmailResponse"
          },
          "default": {
            "$ref": "#/components/responses/errorResponse"
          }
        },
        "tags": [
          "Event Forwarders"
        ],
        "x-docs-category": "Operations & integrations",
        "x-docs-group": "Event Forwarders"
      }
    }
  },
  "tags": [
    {
      "name": "Event Forwarders"
    }
  ],
  "x-readme": {
    "apply-tag-changes": true
  },
  "servers": [
    {
      "url": "https://api.akeyless.io"
    }
  ],
  "components": {
    "responses": {
      "errorResponse": {
        "description": "errorResponse wraps any error to return it as a JSON object with one \"error\"\nfield.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/JSONError"
            }
          }
        }
      },
      "eventForwarderCreateEmailResponse": {
        "description": "eventForwarderCreateEmailResponse wraps response body.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/eventForwarderCreateUpdateOutput"
            }
          }
        }
      }
    },
    "schemas": {
      "JSONError": {
        "properties": {
          "error": {
            "type": "string",
            "x-go-name": "Err"
          }
        },
        "title": "JSONError wraps an error with JSON object.",
        "type": "object",
        "x-go-package": "akeyless.io/akeyless-main-repo/go/src/client"
      },
      "NotiForwarderRunnerType": {
        "type": "string",
        "x-go-package": "akeyless.io/akeyless-main-repo/go/src/infra/types"
      },
      "eventForwarderCreateEmail": {
        "description": "eventForwarderCreateEmail is a command that creates email event forwarder",
        "properties": {
          "auth-methods-event-source-locations": {
            "description": "Auth Method Event sources",
            "items": {
              "type": "string"
            },
            "type": "array",
            "x-go-name": "AuthMethodsEventSources"
          },
          "description": {
            "description": "Description of the object",
            "type": "string",
            "x-go-name": "Description"
          },
          "email-to": {
            "description": "A comma seperated list of email addresses to send event to",
            "type": "string",
            "x-go-name": "EmailTo"
          },
          "event-types": {
            "description": "List of event types to notify about [request-access, access-request-expired, access-request-approved, access-request-denied, certificate-pending-expiration, certificate-expired, certificate-provisioning-success, certificate-provisioning-failure, auth-method-pending-expiration, auth-method-expired, next-automatic-rotation, rotated-secret-success, rotated-secret-failure, dynamic-secret-failure, multi-auth-failure, uid-rotation-failure, apply-justification, email-auth-method-approved, usage, rotation-usage, gateway-inactive, static-secret-updated, rate-limiting, usage-report, secret-sync, locked-user, unlocked-user, password-reset]",
            "items": {
              "type": "string"
            },
            "type": "array",
            "x-go-name": "EventTypes"
          },
          "every": {
            "description": "Rate of periodic runner repetition in hours",
            "type": "string",
            "x-go-name": "RunEvery"
          },
          "gateways-event-source-locations": {
            "description": "Event sources",
            "items": {
              "type": "string"
            },
            "type": "array",
            "x-go-name": "GatewayEventSources"
          },
          "include-error": {
            "description": "Set this option to include event errors details [true/false]",
            "type": "string",
            "x-go-name": "IncludeError"
          },
          "items-event-source-locations": {
            "description": "Items Event sources",
            "items": {
              "type": "string"
            },
            "type": "array",
            "x-go-name": "ItemsEventSources"
          },
          "json": {
            "default": false,
            "description": "Set output format to JSON",
            "type": "boolean",
            "x-go-name": "Json"
          },
          "key": {
            "description": "The name of a key that used to encrypt the EventForwarder secret value (if empty, the account default protectionKey key will be used)",
            "type": "string",
            "x-go-name": "ProtectionKey"
          },
          "name": {
            "description": "EventForwarder name",
            "type": "string",
            "x-go-name": "EventForwarderName"
          },
          "override-url": {
            "description": "Override the Akeyless event link with the cluster URL of an active gateway in this account",
            "type": "string",
            "x-go-name": "OverrideURL"
          },
          "runner-type": {
            "$ref": "#/components/schemas/NotiForwarderRunnerType"
          },
          "targets-event-source-locations": {
            "description": "Targets Event sources",
            "items": {
              "type": "string"
            },
            "type": "array",
            "x-go-name": "TargetsEventSources"
          },
          "token": {
            "description": "Authentication token (see `/auth` and `/configure`)",
            "type": "string",
            "x-go-name": "Profile"
          },
          "uid-token": {
            "description": "The universal identity token, Required only for universal_identity authentication",
            "type": "string",
            "x-go-name": "UIDToken"
          }
        },
        "required": [
          "gateways-event-source-locations",
          "runner-type",
          "name"
        ],
        "type": "object",
        "x-go-package": "akeyless.io/akeyless-main-repo/go/src/client/commands"
      },
      "eventForwarderCreateUpdateOutput": {
        "properties": {
          "event_forwarder_id": {
            "format": "int64",
            "type": "integer",
            "x-go-name": "EventForwarderID"
          },
          "event_forwarder_name": {
            "type": "string",
            "x-go-name": "EventForwarderName"
          }
        },
        "type": "object",
        "x-go-package": "akeyless.io/akeyless-main-repo/go/src/client/commands"
      }
    }
  }
}
```