Platform Events Developer Guide
Summer '26 (API version 67.0)
Spring '26 (API version 66.0)
Winter '26 (API version 65.0)
Summer '25 (API version 64.0)
Spring '25 (API version 63.0)
Winter '25 (API version 62.0)
Summer '24 (API version 61.0)
Spring '24 (API version 60.0)
Winter '24 (API version 59.0)
Summer '23 (API version 58.0)
Spring '23 (API version 57.0)
Winter '23 (API version 56.0)
Summer '22 (API version 55.0)
Spring '22 (API version 54.0)
Winter '22 (API version 53.0)
Summer '21 (API version 52.0)
Spring '21 (API version 51.0)
Winter '21 (API version 50.0)
Summer '20 (API version 49.0)
Spring '20 (API version 48.0)
Winter '20 (API version 47.0)
Summer '19 (API version 46.0)
Spring '19 (API version 45.0)
Winter '19 (API version 44.0)
Summer '18 (API version 43.0)
Spring '18 (API version 42.0)
Winter '18 (API version 41.0)
Summer '17 (API version 40.0)
Spring '17 (API version 39.0)
Which Type of Platform Events Do Allocations Apply to?
Common Platform Event Allocations
Default Platform Event Allocations
Platform Event Add-On License and Usage-Based Entitlement
Monitor Event Usage Against Your Allocations
Monitor Hourly Event Delivery Usage with REST API
Monitor Event Usage with PlatformEventUsageMetric
Standard-Volume Platform Event Allocations
Platform Event Error Status Codes
Newer Version Available
Platform Event Allocations
Learn about the allocations available for platform event definitions, publishing and
subscribing to platform events, and event delivery in Pub/Sub API clients, CometD clients,
empApi Lightning components, and event
relays.
-
Which Type of Platform Events Do Allocations Apply to?
Platform events can be custom events, which are platform events that you define, or standard events, which are the events that Salesforce defines, including Real-Time Event Monitoring events. -
Common Platform Event Allocations
Common allocations include allocations for platform event definitions, concurrent CometD clients, and allocations for processes and flows. The common allocations apply to standard-volume and high-volume platform events. -
Default Platform Event Allocations
If your org has no add-on licenses, default allocations apply for event publishing and delivery that can’t be exceeded. The default allocations are enforced to ensure fair sharing of resources in the multitenant environment and to protect the service. -
Platform Event Add-On License and Usage-Based Entitlement
To increase your event delivery allocation for Pub/Sub API, CometD, empApi Lightning components, and event relays, purchase an add-on for additional platform events. The add-on moves your event delivery usage to a monthly model and allows for spikes in usage. To purchase an add-on, contact your Salesforce Account Representative. -
Monitor Event Usage Against Your Allocations
Check your event publishing and delivery usage and maximum allocation in Setup, or using REST API or Apex. -
Monitor Hourly Event Delivery Usage with REST API
Get the hourly delivery usage by periodically retrieving the daily event delivery usage using REST API. -
Monitor Event Usage with PlatformEventUsageMetric
Perform a SOQL query on PlatformEventUsageMetric to get visibility into your event usage and usage trends. With enhanced usage metrics, you can view separate and combined metrics for platform events and change data capture events. Break down usage metrics by event name, client ID, event type, usage type, and get usage data by granular time segments. PlatformEventUsageMetric data is available for CometD and Pub/Sub API clients, empApi Lightning components, and event relays. -
Standard-Volume Platform Event Allocations
These allocations are for standard-volume events defined in API version 44.0 and earlier.