function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Pedro Garcia 26Pedro Garcia 26 

custom platform event message

I'm using the Platform event as part of the integration with other systems.
An external system pushes to the Salesforce platform event and sends the data using REST; Salesforce returns the result of this.
My question:
Could I modify the REST response of the Platform event?

Thanks,
Pedro
VinayVinay (Salesforce Developers) 
Hi Pedro,

I don't think you can modify REST response,  however you can store them in salesforce and later you can modify as per your requirement but not directly from external systems to platform event message.

https://developer.salesforce.com/docs/atlas.en-us.platform_events.meta/platform_events/platform_events_publish_api.htm

Thanks,