I want to create a platform event dynamically using any programming language. But I didn't find any API. Can you please tell me I can make platform event dynamically?
closed as off-topic by Jayant Das, battery.cord, glls, David Reed♦, Reshma Mar 7 at 5:35
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions on problems in code you've written must describe the specific problem and include valid code to reproduce it. For help writing short, self-contained syntactically-valid examples, see: SSCCE.org" – Jayant Das, battery.cord, glls, David Reed, Reshma
Platform events are migrated the same as normal Custom Objects. See Migrate Platform Event Definitions with Metadata API for specific details. Basically, you use the Metadata API, and you retrieve and deploy them the same as other CustomObject metadata objects, which also includes Custom Settings.