Base and authentication#
The HTTP API is rooted at /api. Authenticated calls use Authorization: Bearer SESSION_TOKEN. Login, registration and token-based email/recovery routes have their documented public flows. Incoming webhook publication authenticates with the secret URL. X-Workspace-Id chooses a workspace but never grants membership. The server verifies real workspace/channel authorization. An external federated session is additionally restricted to its approved channel and cannot be used as an administrative session.
Formats and time#
JSON field names are case-sensitive. API request records reject unknown properties. Most application IDs are UUIDs; times are epoch milliseconds unless a protocol explicitly uses seconds. Binary files use application/octet-stream.
Encrypted content#
Send ciphertext envelopes, not plaintext message fields. Device/key APIs distribute public identities and sealed packages. Search in decrypted messages remains client-side. Webhooks and optional custody have explicit, separately documented trust boundaries.
Errors and compatibility#
Authorization failures typically use 401/403; policy/concurrency conflicts use 409. Explicit application errors include a message field; framework validation/parse errors may differ. Do not assume every error uses one shape. See the generated endpoint catalog.