Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/v2025-01-15/reference/get_events.md. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers
v2025-01-15

You're reading the reference for API revision 2025-01-15. The latest revision is 2026-10-15. See this page in the latest revision.

Get Events

GEThttps://a.klaviyo.com/api/events

Get all events in an account

Requests can be sorted by the following fields: datetime, timestamp

Custom metrics are not supported in the metric_id filter.

Returns a maximum of 200 events per page.

Revision header
revision: 2025-01-15required
Scopes
events:read
Rate limits
Burst: 350/sSteady: 3500/m

Query parameters

  • fields[event]#string[]

    For more information please visit API overview

    Allowed values:
    • timestamp
    • event_properties
    • datetime
    • uuid
  • fields[metric]#string[]

    For more information please visit API overview

    Allowed values:
    • name
    • created
    • updated
    • integration
  • fields[profile]#string[]

    For more information please visit API overview

    Show 24 allowed values
    • email
    • phone_number
    • external_id
    • first_name
    • last_name
    • organization
    • locale
    • title
    • image
    • created
    • updated
    • last_event_date
    • location
    • location.address1
    • location.address2
    • location.city
    • location.country
    • location.latitude
    • location.longitude
    • location.region
    • location.zip
    • location.timezone
    • location.ip
    • properties
  • filter#string

    For more information please visit API overview
    Allowed field(s)/operator(s):
    metric_id: equals
    profile_id: equals
    profile: has
    datetime: greater-or-equal, greater-than, less-or-equal, less-than
    timestamp: greater-or-equal, greater-than, less-or-equal, less-than

    Example: equals(metric_id,'example')

  • include#string[]

    For more information please visit API overview

    Allowed values:
    • attributions
    • metric
    • profile
  • page[cursor]#string

    For more information please visit API overview

  • sort#string

    For more information please visit API overview

    Allowed values:
    • datetime
    • -datetime
    • timestamp
    • -timestamp

Headers

  • revision#stringrequired

    API endpoint revision (format: YYYY-MM-DD[.suffix])

    2025-01-15

Responses

200Success

Content type: application/vnd.api+json

  • data#object[]required
    Show 5 fields
    • relationships#object
      Show 3 fields
      • profile#object
        Show 2 fields
        • data#object
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • profile
          • id#stringrequired

            Profile ID of the associated profile, if available

      • metric#object
        Show 2 fields
        • data#object
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • metric
          • id#stringrequired

            The Metric ID

      • attributions#object
        Show 2 fields
        • data#object[]
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • attribution
          • id#stringrequired

            Attributions for this event

    • type#stringrequired
      Allowed values:
      • event
    • id#stringrequired

      The Event ID

    • attributes#objectrequired
      Show 4 fields
      • timestamp#integernullable

        Event timestamp in seconds

      • event_properties#objectnullable

        Event properties, can include identifiers and extra properties

      • datetime#string<date-time>nullable

        Event timestamp in ISO8601 format (YYYY-MM-DDTHH:MM:SS+hh:mm)

        Example: 2022-11-08T01:23:45+00:00

      • uuid#stringnullable

        A unique identifier for the event, this can be used as a cursor in pagination

  • included#oneOf[]

    One of:

    1. Option 1: AttributionResponseObjectResource
      • type#stringrequired
        Allowed values:
        • attribution
      • id#stringrequired

        The ID of the attribution

        Example: 925e385b52fb405715f3616c337cc65c

      • relationships#object
        Show 7 fields
        • event#object
          Show 1 field
          • data#object
            Show 2 fields
            • type#stringrequired
              Allowed values:
              • event
            • id#stringrequired

              Event

        • attributed-event#object
          Show 1 field
          • data#object
            Show 2 fields
            • type#stringrequired
              Allowed values:
              • event
            • id#stringrequired

              Attributed Event

        • campaign#object
          Show 1 field
          • data#object
            Show 2 fields
            • type#stringrequired
              Allowed values:
              • campaign
            • id#stringrequired

              Attributed Campaign

        • campaign-message#object
          Show 1 field
          • data#object
            Show 2 fields
            • type#stringrequired
              Allowed values:
              • campaign-message
            • id#stringrequired

              Attributed Campaign Message

        • flow#object
          Show 1 field
          • data#object
            Show 2 fields
            • type#stringrequired
              Allowed values:
              • flow
            • id#stringrequired

              Attributed Flow

        • flow-message#object
          Show 1 field
          • data#object
            Show 2 fields
            • type#stringrequired
              Allowed values:
              • flow-message
            • id#stringrequired

              Attributed Flow Message

        • flow-message-variation#object
          Show 1 field
          • data#object
            Show 2 fields
            • type#stringrequired
              Allowed values:
              • flow-message
            • id#stringrequired

              Attributed Flow Message Variation

    2. Option 2: MetricResponseObjectResource
      • type#stringrequired
        Allowed values:
        • metric
      • id#stringrequired

        The Metric ID

      • attributes#objectrequired
        Show 4 fields
        • name#stringnullable

          The name of the metric

        • created#stringnullable

          Creation time in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm)

        • updated#stringnullable

          Last updated time in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm)

        • integration#objectnullable

          The integration associated with the event

    3. Option 3: ProfileResponseObjectResource
      • type#stringrequired
        Allowed values:
        • profile
      • id#stringnullable

        Primary key that uniquely identifies this profile. Generated by Klaviyo.

        Example: 01GDDKASAP8TKDDA2GRZDSVP4H

      • attributes#objectrequired
        Show 14 fields
        • email#stringnullable

          Individual's email address

          Example: sarah.mason@klaviyo-demo.com

        • phone_number#stringnullable

          Individual's phone number in E.164 format

          Example: +15005550006

        • external_id#stringnullable

          A unique identifier used by customers to associate Klaviyo profiles with profiles in an external system, such as a point-of-sale system. Format varies based on the external system.

        • first_name#stringnullable

          Individual's first name

          Example: Sarah

        • last_name#stringnullable

          Individual's last name

          Example: Mason

        • organization#stringnullable

          Name of the company or organization within the company for whom the individual works

          Example: Example Corporation

        • locale#stringnullable

          The locale of the profile, in the IETF BCP 47 language tag format like (ISO 639-1/2)-(ISO 3166 alpha-2)

          Example: en-US

        • title#stringnullable

          Individual's job title

          Example: Regional Manager

        • image#stringnullable

          URL pointing to the location of a profile image

          Example: https://images.pexels.com/photos/3760854/pexels-photo-3760854.jpeg

        • created#string<date-time>nullable

          Date and time when the profile was created, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm)

          Example: 2022-11-08T00:00:00+00:00

        • updated#string<date-time>nullable

          Date and time when the profile was last updated, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm)

          Example: 2022-11-08T00:00:00+00:00

        • last_event_date#string<date-time>nullable

          Date and time of the most recent event the triggered an update to the profile, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm)

          Example: 2022-11-08T00:00:00+00:00

        • location#object
          Show 10 fields
          • address1#stringnullable

            First line of street address

            Example: 89 E 42nd St

          • address2#stringnullable

            Second line of street address

            Example: 1st floor

          • city#stringnullable

            City name

            Example: New York

          • country#stringnullable

            Country name

            Example: United States

          • latitude#string | numbernullable

            Latitude coordinate. We recommend providing a precision of four decimal places.

            Example: 40.7128

          • longitude#string | numbernullable

            Longitude coordinate. We recommend providing a precision of four decimal places.

            Example: 74.0060

          • region#stringnullable

            Region within a country, such as state or province

            Example: NY

          • zip#stringnullable

            Zip code

            Example: 10017

          • timezone#stringnullable

            Time zone name. We recommend using time zones from the IANA Time Zone Database.

            Example: America/New_York

          • ip#stringnullable

            IP Address

            Example: 127.0.0.1

        • properties#objectnullable

          An object containing key/value pairs for any custom properties assigned to this profile

4XXClient Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string

5XXServer Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string