Create a Channel for a Change Event
Create a channel that holds a stream of change events.
|USER PERMISSIONS NEEDED|
|To create a PlatformEventChannel:||Customize Application|
|To use REST API:||API Enabled|
Send a POST request to this URI.
If you’re using Postman, under Tooling, click Post Tooling SObject, and then replace the
To configure a channel that receives change event messages, set
data. Use this example request body.
Send the request. The response received looks similar to this response.
Now that you created a channel for change events, add a member for one change event. See Create a Channel Member to Associate a Change Event.
- Tooling API Developer Guide: PlatformEventChannel
- Metadata API Developer Guide: PlatformEventChannel
- Change Data Capture Developer Guide: Compose Streams of Change Data Capture Notifications with Custom Channels