Read community data
- Last UpdatedAug 05, 2024
- 2 minute read
You can use APIs to read community data shared with your tenant. The steps are:
Connect to CONNECT data services with a role that has access to communities.
Query for the list of communities to which your tenant is connected. See List Communities a Tenant is Joined to.

(Optional) Retrieve a community's information using the communityId. See Get a Community by Id.
Query the community for streams using the communityId. See List Streams By Community.

Use the
Selflink in the response to get to the stream, including the communityId in the header.Note: This is the easiest method, because it contains region information, but the tenant and namespace information needed for the stream URL are included as other properties.
See Definitions and Get Stream.
Use the resolved route with the communityId in the header to get Type information; types can not be accessed directly. See Get Resolved Stream.

Use data calls as normal, including the communityId in the header. See Stream Data.
