palbaseDocs

API reference

Palbase Messaging

Palbase's messaging module: a project's people talking — direct and group conversations, their members, their messages with replies, threads, reactions, edits and removals, files, timers, messages seen once, vanish mode and messages sent later — in one shared, multi-tenant service; every project is isolated by row security in its database.

What a conversation says is kept sealed: each conversation has its own key (AES-256-GCM), itself sealed with the project's data key, whose own key is in the platform's key vault. A database dump, a backup or a disk holds no message. The platform holds the keys: this is not end-to-end encryption. Who wrote to whom, and when, is kept as it is: the order, the unread counts and the rights are read from it.

A person's app follows what changed for them with GET /messaging/sync and hears it as it happens on their own realtime channel, messaging:<ref>:<user_id> (events changes, carrying the same shape as a sync, and typing). Pushes go through notify. Files are uploaded encrypted by the app, to the project's storage.

The project's server, with its secret key, runs the module's settings, reads and removes messages (every time in the access log), and reads the reports its people made.

The contract itself: /openapi/messaging.openapi.json

Admin

Safety

Conversations

Messages

Profiles

Settings

Sync