How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Salesforce Streaming API

The Salesforce Streaming API uses a publish-subscribe model based on Bayeux/CometD to push near-real-time event notifications to subscribed clients. It supports PushTopic events for record changes and Generic Streaming events for custom notifications.

Salesforce Streaming API is one of 294 APIs that Salesforce publishes on the APIs.io network, described by an AsyncAPI event-driven specification.

Tagged areas include CRM, Event, Push Notifications, Real-Time, and Streaming. The published artifact set on APIs.io includes API documentation, a getting-started guide, an API reference, authentication docs, and an AsyncAPI specification.

This event API exposes 2 operations across 2 channels, and defines 4 schemas. It is described by AsyncAPI 2.6.0, at version 44.0.

The API connects through a single server, https://{instanceName}.salesforce.com/cometd/{apiVersion} (https).

2 operations 2 channels 4 schemas

Metadata

The identity and technical contract details declared by the specification.

Specification
AsyncAPI 2.6.0
API Version
44.0
Base URL
https://{instance}.salesforce.com/cometd
Resource Areas
1

Channels & Operations 2

Across 2 channels, the API surfaces 2 operations. Each is listed below with its action, channel, parameters, and response codes.

Channels 2
SUB
/topic/{pushTopicName}
Receive a PushTopic record change event
receivePushTopicEvent 1 param body
SUB
/u/{streamingChannelName}
Receive a generic streaming event
receiveGenericStreamingEvent 1 param body

Messages & Schemas 4

The contract defines 4 schemas that model the data carried by its messages. The most detailed are GenericStreamingEventPayload (3 properties), PushTopicEventPayload (3 properties). Each schema is shown below with its type and property counts.

PushTopicEvent
message
Notification of a Salesforce record change matching a PushTopic query
GenericStreamingEvent
message
Custom event published to a Generic Streaming channel
PushTopicEventPayload
object
The envelope delivered to CometD subscribers for PushTopic events
3 properties
GenericStreamingEventPayload
object
The envelope for Generic Streaming channel events
3 properties

Specification

The full machine-readable AsyncAPI contract behind this narrative.

Source

salesforce-streaming-asyncapi.yml Raw ↑

Other APIs Salesforce publishes across the network.

Salesforce REST API
Salesforce SOAP API
Salesforce Bulk API
Salesforce Metadata API
Salesforce Tooling API
Salesforce Connect API (Chatter)
Salesforce Analytics REST API
Salesforce Reports and Dashboards REST API
Salesforce Einstein Platform Services API
Salesforce Einstein Prediction Service API
Salesforce GraphQL API
Salesforce Pub/Sub API
Where this information came from

This is an independent, third-party profile of Salesforce Streaming API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.