频道发生变化。 你的后端立即感知。

响应在线人数、成员变动、连接计数和缓存未命中事件。将 Realtime webhooks 作为变更通知,在需要时读取当前状态进行对账。

The last tab closes.
The member leaves.

Keep identity-level presence separate from individual connections.

Realtime presence webhookHarbor
presence-operations

Maya has two tabs

Both connections belong to the same signed member.

Member
u_maya
Connections
2
Current roster
Maya + Alex
  1. One tab closes

    Maya still has a live connection. No member_removed event.

  2. The last tab closes

    The member leaves this presence channel.

  3. Deliver the notification

    realtime.member_removed identifies the member and channel.

Backend receives a change

Reconcile room activity

Verify the signed delivery and update the application’s observation of this room.

Member departure observed
Can Realtime webhooks be replayed later?

Realtime deliveries retry non-2xx responses for up to five minutes. They do not have replay or appear in the endpoint delivery-attempts log; read current channel state after a gap.

Interactive illustration with fictional records. No account operation is performed.

选择事件。
规划恢复机制。

从后端响应频道活动。

在控制面板中配置分组。

Realtime 订阅归属于单个应用,目前只能在控制面板中管理。包含 realtime.* 类型的公开 webhook 创建请求会被拒绝。端点的应用在创建后不可更改。

验证原始签名字节。

使用端点密钥验证原始请求体。以即时 2xx 响应完成持久确认,然后异步处理。遇到未知事件类型时保留而非中断端点。

对账无序的观测数据。

连接计数分组需要对应的应用设置。在线人数仅报告首次到达和最后离开。通知延迟或缺失时,应读取当前状态,而非假设投递顺序。

规模扩展
不失控。

在工作区中组织团队,控制 API 访问权限,通过审计日志追踪变更。

BirdHarbor组织
工作区生产环境沙盒

发送代理

API 密钥 · 客户运营团队
有效
权限访问权限
Email读写
SMS读写
ALAlex Lee 管理员权限已更新

审计日志

生产环境
工作区
生产环境
资源
发送代理
WhatsApp
读取权限读写
成功

从 Realtime 开始。
使用 Bird 跨渠道构建。

你的下一个创意。 随时连接。