Circle · AsyncAPI Specification
Circle Realtime WebSocket API (Beta)
Version 1.0
Circle exposes a documented public WebSocket API for realtime chat and notifications, in beta for customers on the Business plan and above. The transport is ActionCable (Rails' WebSocket framework), a pub/sub protocol, connected at wss://app.circle.so/cable. Clients authenticate with a member-scoped Bearer access token (the same HEADLESS_MEMBER_ACCESS_TOKEN used by the Headless Member API, which expires after one hour and must be refreshed) and must send an Origin header set to a domain whitelisted for the community. After connecting, a client subscribes to ActionCable channels to receive server-pushed messages. This is the community-software company at circle.so, NOT the USDC / stablecoin financial-services company.
View Spec
View on GitHub
CommunityCreatorsCoursesMembershipsEventsChatCommunity PlatformAsyncAPIWebhooksEvents
Channels
NotificationChannel
Receive realtime notification events for the member.
Realtime notifications for a signed-in community member. ActionCable identifier channel "NotificationChannel"; the underlying pub/sub stream is notification-channel-{community_member_id}.
ChatRoomMemberChannel
Receive chat room creation and update events for the member.
Member-specific chat channel for room creation and update events. Pub/sub stream chat-room-channel-{community_member_id}.
ChatRoomChannel
Receive messages, updates, and deletions for a chat room.
Room-wide chat channel delivering messages, deletions, and updates to all participants of a room. Pub/sub stream chat-room-{chat_room_id}-channel.
ChatThreadChannel
Receive thread messages and status events for the member.
Thread-level chat channel delivering thread messages and status. Pub/sub stream chat-community-member-{community_member_id}-threads-channel.
Messages
NewNotification
New notification
A new notification was created for the member.
UpdateNewNotificationCount
Update unread notification count
The member's unread notification count changed.
ResetNewNotificationCount
Reset unread notification count
The member's unread notification count was reset.
ChatRoomEvent
Chat room event
A chat room was created or updated for the member.
ChatMessage
Chat message
A message was sent, updated, or deleted in a chat room.
ChatThreadEvent
Chat thread event
A thread message or status update was delivered.
Servers
wss
production
app.circle.so/cable
Circle ActionCable WebSocket endpoint. Requires an "Authorization: Bearer HEADLESS_MEMBER_ACCESS_TOKEN" header and an "Origin" header set to a whitelisted community domain.