# Data Event

Schema: #/components/schemas/data_event

Method: SCHEMA
Version: 2.7
Security: bearerAuth

## Schema fields:

  - `type` (string)
    The type of the object
    Enum: "event"

  - `event_name` (string, required)
    The name of the event that occurred. This is presented to your App's admins when filtering and creating segments - a good event name is typically a past tense 'verb-noun' combination, to improve readability, for example `updated-plan`.
    Example: invited-friend

  - `created_at` (integer, required)
    The time the event occurred as a UTC Unix timestamp
    Example: 1671028894

  - `user_id` (string)
    Your identifier for the user.
    Example: 314159

  - `id` (string)
    Your identifier for a lead or a user.
    Example: 8a88a590-e1c3-41e2-a502-e0649dbf721c

  - `intercom_user_id` (string)
    The Intercom identifier for the user.
    Example: 63a0979a5eeebeaf28dd56ba

  - `email` (string)
    An email address for your user. An email should only be used where your application uses email to uniquely identify users.
    Example: frodo.baggins@example.com

  - `metadata` (object)
    Optional metadata about the event.
    Example: {"invite_code":"ADDAFRIEND"}

