Platform Event Fields
Migrate Platform Event Definitions with Metadata API
Encrypting Platform Event Messages at Rest in the Event Bus
Previous Versions
Define a platform event and add custom fields.
| Required Editions |
|---|
| Available in: both Salesforce Classic and Lightning Experience |
| Available in: Performance, Unlimited, Enterprise, and Developer Editions |
| User Permissions Needed | |
|---|---|
| To create and edit platform event definitions: | Customize Application AND API Enabled |
Platform events contain standard fields. Add custom fields for your custom data.
Migrate Platform Event Definitions with Metadata API
Deploy and retrieve platform event definitions from your sandbox and production org as part of your app’s development life cycle.
To discover the event fields of your platform event, get the event schema. You can get the event schema through REST API or Pub/Sub API.