Salesforce · AsyncAPI Specification

Salesforce Change Data Capture API

Version 59.0

Salesforce Change Data Capture (CDC) delivers change events that represent changes to Salesforce records including creates, updates, deletes, and undeletes. Subscribers receive rich change events with header metadata, changed fields, and entity metadata. Change events are durable and retained for 72 hours. CDC enables near-real-time data replication and synchronization of Salesforce data to external systems.

View Spec View on GitHub AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSalesAsyncAPIWebhooksEvents

Channels

/data/{objectApiName}ChangeEvent
subscribe receiveChangeEvent
Receive a record change event for a specific object
CometD channel for subscribing to change events for a specific Salesforce standard or custom object. Delivers events when records of that type are created, updated, deleted, or undeleted.
/data/ChangeEvents
subscribe receiveAllChangeEvents
Receive change events for all CDC-enabled objects
Omnibus channel that delivers change events for all objects configured for Change Data Capture in your org's settings. Use this channel to receive all CDC events in a single subscription.

Messages

ChangeEventMessage
Salesforce Change Data Capture Event
A record change notification for a Salesforce object

Servers

https
salesforce-cometd https://{instanceName}.salesforce.com/cometd/{apiVersion}
CometD endpoint for subscribing to Change Data Capture events