---
title: "EventSubscription"
url: "https://nov18-dev.movespot.fyi/apis/konnect-notification-hub-1/versions/fad45c1d-91ca-4163-bc3d-c97f5545c2bf/schemas/EventSubscription"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/konnect-notification-hub-1/versions/fad45c1d-91ca-4163-bc3d-c97f5545c2bf.md

# EventSubscription

Properties associated with an event subscription.

## OpenAPI definition

```yaml
openapi: 3.0.2
info:
  title: Konnect Notification Hub
  version: 1.0.1
servers:
  - url: https://global.api.konghq.com/v1
    description: Global Base URL
components:
  schemas:
    NotificationRegion:
      description: Region associated to a notification.
      type: string
      enum:
        - US
        - EU
        - AU
        - ME
        - IN
        - "*"
    NotificationChannel:
      description: Channel subscription details for an event.
      type: object
      properties:
        type:
          $ref: "#/components/schemas/NotificationChannelType"
        enabled:
          type: boolean
      required:
        - type
        - enabled
    NotificationChannelType:
      type: string
      enum:
        - EMAIL
        - IN_APP
    EventSubscription:
      description: Properties associated with an event subscription.
      type: object
      properties:
        regions:
          type: array
          items:
            $ref: "#/components/schemas/NotificationRegion"
        entities:
          type: array
          items:
            type: string
            description: ID of the entity. Use '*' to represent all entities of this type.
        channels:
          type: array
          items:
            $ref: "#/components/schemas/NotificationChannel"
        enabled:
          description: Enable/Disable complete subscription within an event.
          type: boolean
        name:
          description: User provided name of the subscription.
          type: string
      required:
        - regions
        - entities
        - channels
        - enabled
        - name
```
