---
schema_version: "1"
id: 83942db6b366d1fbe58a4bc4f790e104708655af3575170dd3b6341a586f7bff
title: ConnectApi.StreamSubscriptionInput
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_stream_subscription.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_stream_subscription.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: cb6c1852846351e18cbb5e7e49a96d02d9dbabc4254811e95c7f07d4aa12fc63
description: An entity to subscribe to for a Chatter feed stream.
---
# ConnectApi.StreamSubscriptionInput

An entity to subscribe to for a Chatter feed stream.

| Property | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| entityId | String | The ID of any feed-enabled entity, such as a group, record, or user, that the context user can access. When subscribed, the entity’s feed is included in the feed stream. | Required | 39.0 |

#### See Also

- [ConnectApi.ChatterStreamInput](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_feed_stream.htm "A Chatter feed stream.")