Skip to main content

Supported products

Use the events API to retrieve event types and event occurrences linked to your CRM records. Events include standard events, such as website page views and sequence email opens, as well as custom events and app events. For example, use this API to view a timeline of a contact’s interactions with your content. You can then use this timeline to build a dataset for custom analytics or present a contact timeline in an external application.
Please note: The events API doesn’t include marketing email events, such as opens, clicks, and bounces. To analyze marketing email events, use the email event analytics API.

Retrieve event types

To request all types of events, make a GET request to /events/event-occurrences/2026-09/event-types. The response will include all event types, including custom events and app events. The returned list is exhaustive and includes event types regardless of whether an account uses the associated features. This means an event type will be returned even if the account doesn’t or can’t receive occurrences for it. For example, an event type only available to Enterprise subscriptions is returned for an account with a Professional subscription.

Retrieve event occurrences

To retrieve event occurrences, make a GET request to /events/event-occurrences/2026-09. Use the following query parameters to retrieve specific occurrences. You can use multiple query parameters to retrieve occurrences that meet specific criteria. Below are some examples of requests you can build using the above query parameters: Your response will include details about the specific event occurrences. For example, the response for GET /events/event-occurrences/2026-09/?eventType=e_visited_page&occurredAfter=2026-01-05T11:00:00-05:00 would look similar to:

Event processing and timestamp behavior

Each event includes an occurredAt timestamp property. This timestamp records when the action associated with the event actually happened. It does not denote when the event became available via this API:
  • HubSpot processes events asynchronously, so there’s a delay between when an event occurs and when you can retrieve it via the API.
  • There is no guaranteed maximum delay between an event occurrence’s occurredAt timestamp and when it becomes queryable via the API.
    • Most occurrences are available shortly after they happen, but some take longer, and timing can vary by event type and by the system that produces the event.
    • Event occurrences can be retroactively populated from other sources. These backfilled occurrences can appear at any time, and their occurredAt timestamps can be far in the past, well before the point at which they became available via the API.
Because of this processing behavior, use the events API as a way to read the current known timeline for a record rather than as a complete, time-ordered feed of everything that has happened:
  • Don’t assume that a fixed look-back window based on occurredAt will capture every event occurrence. A late-arriving or backfilled event occurrence can fall outside a window you have already synced past.
  • Don’t treat occurredAt as the time an occurrence was received or made available. It reflects when the event happened, which can take place before the query.
  • If you need to retrieve an up-to-date view of specific records, use the objectType and objectId query parameters to re-fetch their event occurrences.
Last modified on November 24, 2026