PlatformEventMigration
Supported SOAP API Calls
create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()
Supported REST API Methods
DELETE, GET, PATCH, POST
Fields
| Field | Details |
|---|---|
| DeveloperName |
|
| EventObject |
|
| MasterLabel |
|
Usage
All standard volume platform events must be migrated to high volume platform events before Winter ‘27. This API provides a means for migration. Standard volume platform events that aren’t migrated won’t work starting in Winter ‘27.
Before starting a migration, ensure that all publish activity has stopped and all subscribers, including triggers and flows, are done processing, then perform a POST request to this endpoint.
1/services/data/v67.0/tooling/sobjects/PlatformEventMigrationProvide the values in the request body. This example request starts migrating the standard volume platform event 01Ixx0000005aUJ to a high volume platform event.
1{
2 "DeveloperName":"svpeConfig",
3 "MasterLabel":"svpeConfig",
4 "EventObject": "01Ixx0000005aUJ"
5 }A successful POST request returns a response that includes an ID.
1{
2 "id":"1hXxx00000000mPEAQ",
3 "Success":true,
4 "Errors":[],
5 "Warnings":[],
6 "infos":[]
7 }To check the status of your migration, use the ID in a GET request to this endpoint.
1/services/data/v67.0/tooling/sobjects/PlatformEventMigration<ID>All these requests use the endpoint with the PlatformEventMigration record ID appended.
- Get the status of a specific migration with a GET request.
- Delete a specific migration with a DELETE request. Deleting a migration may not work because the migration could finish processing before the DELETE request is received. Because migration is a one-way door, it can’t be undone after it’s already happened.
- Update a specific migration with a PATCH request. For this request, include the PlatformEventMigration definition in the request body.
Once a migration has started, publishes won’t work and you’ll be unable to create new triggers or flows until the migration finishes. A migration usually takes 10–15 minutes, but can last as long as 24 hours in some cases. You will receive an email when the migration is complete.
Also, you can query and retrieve the configurations in your org with SOQL. If querying from the Developer Console Query Editor, ensure that you select Use Tooling API. This example query retrieves all configurations set up in your Salesforce org.
1SELECT Id, DeveloperName, MasterLabel, EventObject, MigrationStatus, StartDate, EndDate, HighVolumePosition FROM PlatformEventMigration