Stream Chat API

Provides scalable in-app chat and activity feed infrastructure via REST and WebSocket APIs, enabling agents to create channels, send messages, manage users, and query feeds programmatically.

Evaluated Mar 06, 2026 (0d ago) vcurrent
Homepage ↗ Other chat feeds activity realtime messaging sdk
⚙ Agent Friendliness
61
/ 100
Can an agent use this?
🔒 Security
82
/ 100
Is it safe for agents?
⚡ Reliability
85
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
--
Documentation
87
Error Messages
83
Auth Simplicity
78
Rate Limits
75

🔒 Security

TLS Enforcement
100
Auth Strength
82
Scope Granularity
70
Dep. Hygiene
82
Secret Handling
78

API secret must be kept server-side; accidental exposure in client bundles is a known risk. No fine-grained permission scopes on API keys — it is all-or-nothing per app. JWT audience and expiry claims help limit blast radius of leaked user tokens.

⚡ Reliability

Uptime/SLA
92
Version Stability
84
Breaking Changes
82
Error Recovery
83
AF Security Reliability

Best When

Building AI agents that need to participate in or orchestrate real-time chat channels, especially when user-facing SDK integration is already powered by Stream.

Avoid When

Your team needs an off-the-shelf support inbox or ticketing system rather than a programmable messaging layer.

Use Cases

  • Send automated messages or notifications into chat channels on behalf of a bot user
  • Query recent channel messages to summarize conversation history for customer support context
  • Create and configure new channels dynamically when users are onboarded or matched
  • Monitor activity feeds to trigger downstream workflows when specific events occur
  • Moderate channels by flagging, muting, or banning users based on policy rules

Not For

  • Email-based customer support workflows — Stream is real-time chat, not inbox/ticket management
  • Transactional email or SMS delivery — use a dedicated messaging gateway instead
  • Building a full CRM or helpdesk — Stream provides messaging infrastructure only, not case management

Interface

REST API
Yes
GraphQL
No
gRPC
No
MCP Server
No
SDK
Yes
Webhooks
Yes

Authentication

Methods: api_key jwt
OAuth: No Scopes: No

Server-side calls use API key + secret in the Authorization header or as query params. Client-side users authenticate with short-lived JWT tokens signed with the app secret. Agents should operate server-side using the API key/secret pair and never expose the secret to end users.

Pricing

Model: subscription
Free tier: Yes
Requires CC: No

Separate pricing tracks for Chat and Activity Feeds products; usage-based overages apply above plan MAU limits.

Agent Metadata

Pagination
cursor
Idempotent
Partial
Retry Guidance
Documented

Known Gotchas

  • Chat and Feeds are two distinct products with separate API namespaces and base URLs — importing the wrong SDK or hitting the wrong endpoint is a common mistake for agents new to Stream
  • JWT tokens expire (default 1 hour) and must be refreshed; agents that cache tokens without checking expiry will receive 401 errors mid-operation
  • Server-side API calls use api_key/secret while client-side calls require per-user JWTs — mixing these up causes auth failures that can be confusing to debug
  • Creating a channel with `watch: true` opens a WebSocket subscription; agents using REST-only should pass `watch: false` to avoid unintended long-lived connections
  • The `queryChannels` and `queryUsers` filters use a MongoDB-style query syntax that must be serialized as JSON query params — incorrect serialization silently returns empty results rather than an error

Alternatives

Full Evaluation Report

Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for Stream Chat API.

$99

Scores are editorial opinions as of 2026-03-06.

5173
Packages Evaluated
26151
Need Evaluation
173
Need Re-evaluation
Community Powered