Salesforce · AsyncAPI Specification
Salesforce Platform Events API
Version 59.0
Salesforce Platform Events enables event-driven integration architectures on the Salesforce platform. Developers define custom event types as Salesforce objects with the __e suffix and publish or subscribe to events using the REST API, Apex triggers, or CometD subscriptions. Events are durable and stored for 72 hours, supporting replay for missed events.
View Spec
View on GitHub
Fortune 500Artificial IntelligenceAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSalesAsyncAPIWebhooksEvents
Channels
/event/{platformEventApiName}
Publish a Platform Event via CometD (internal use)
CometD channel for subscribing to a Platform Event type. Receives events published to this event type from Apex triggers, flows, REST API calls, or external systems via the REST API.
Messages
PlatformEventMessage
Salesforce Platform Event
A Platform Event notification received via CometD
PlatformEventPublishMessage
Platform Event Publish Payload
Payload structure for publishing a Platform Event via REST API
Servers
https
salesforce-cometd
https://{instanceName}.salesforce.com/cometd/{apiVersion}
CometD endpoint for subscribing to Platform Events
grpc
salesforce-pubsub
api.pubsub.salesforce.com:443
Pub/Sub API gRPC endpoint (recommended for high-throughput subscriptions)
AsyncAPI Specification
Work with this as data
Every AsyncAPI spec here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for asyncapi
4 MCP tools reach this
find_asyncapisBrowse and filter every AsyncAPI spec in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This AsyncAPI spec
curl "https://apis.io/api/v1/asyncapis/salesforce-platform-events-asyncapi"
All asyncapi
curl "https://apis.io/api/v1/asyncapis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.