All use cases
Presence channel

Collaborative Editing

Enable multiple users to edit documents, whiteboards, spreadsheets, or any shared state simultaneously. Show live cursors, selections, and presence indicators so everyone knows who is working where.

Implementation

example.js
const doc = client.connect().subscribe('presence-doc-abc', { user_id: 'user-42', user_info: { name: 'Alice', color: '#00c8ff' } }) // Show live collaborators doc.bind('realtime:member_added', (member) => { showAvatar(member.info.name, member.info.color) }) // Broadcast cursor position (client event) doc.trigger('client-cursor', { x: 420, y: 180, selection: [12, 47] }) // Render other users' cursors doc.bind('client-cursor', (data) => moveCursor(data))

Why Apinator for collaborative editing

Presence channels to track who is viewing or editing a document
Live cursor positions and selections via client events
Member join/leave events to update the collaborator list
No server roundtrip for cursor moves — direct peer-to-peer feel
Multi-tab tracking so users appear once even with multiple tabs
Scales to hundreds of concurrent editors per document

Ready to build collaborative editing?

Get started in minutes. Completely free, no credit card required.