Newer Version Available

This content describes an older version of this product. View Latest

Select Objects for Change Notifications with Metadata API and Tooling API

Use the PlatformEventChannelMember metadata type to create or retrieve object event selections for the ChangeEvents standard channel. The ChangeEvents standard channel corresponds to the selections that you configure in Setup in the Change Data Capture page. In Tooling API, you can create or retrieve object selections through the PlatformEventChannelMember objects.

To learn how to select objects with Metadata API, see PlatformEventChannelMember in the Metadata API Developer Guide.

To learn how to select objects with Tooling API, see PlatformEventChannelMember in the Tooling API.

Starting with API version 47.0, you define channel member components and channels separately in Metadata API. In API version 45.0 and 46.0, members are included in the PlatformEventChannel component. For more information, see PlatformEventChannel in the Metadata API Developer Guide.