These guides explain how the wire protocol works, for anyone writing a client, bot or server in any language. Each one links the specification sections it is based on; the specification is authoritative.

  • Introduction

    What Sloppy Voice v2 is, the parts of the system, the insecure and secure modes and what each protects, the protocol version and conformance classes, and where to read next.

  • Quick tour with curl

    Walk the Sloppy Voice wire protocol by hand with dig, curl and websocat, from a bare domain to a live message.created event.

  • Addresses and links

    How Sloppy Voice addresses are written, normalized, canonicalized, looked up and shared as sloppyv:// URIs and HTTPS share links.

  • Discovery and server metadata

    How a client, bot or server turns a domain into a base URL, ServerMetadata and signing keys, and how pins, key rotation and caching keep that answer trustworthy.

  • HTTPS API conventions

    The rules every Sloppy Voice HTTPS endpoint follows, from base URLs, tokens and problem details to pagination, idempotency, rate limits, CORS, versioning and size limits.

  • Event WebSocket

    How a client opens the /v1/events socket, subscribes to streams, keeps its place with seq, resumes after a disconnect and reacts to every close code.

  • Sign-in, accounts and bots

    How clients sign in through their home server with OAuth and PKCE, how sessions, devices and tokens work, and how accounts, profiles, bots and deletion behave.

  • Federation and remote sessions

    How a client opens, renews and extends sessions at servers other than its home server, and how servers authenticate requests, deliver events, fan out revocations and apply blocks.

  • Communities and channels

    How a server's single community works, how accounts join it and its channels, how invites and the community list work, and how a channel or server is upgraded to secure without a way back.

  • Roles, permissions and moderation

    How a community decides who may do what, how moderators act on members and messages in insecure and secure contexts, and how reports, the audit log and anti-spam work.

  • Messages and attachments

    How to post, read, edit, delete and react to messages in both security modes, keep a timeline in sync, upload files, and use read state, typing, presence and webhooks.

  • Direct messages and group DMs

    Where a DM lives, how its ID is computed, how first contact becomes a message request, and how security, membership and calls follow the participants.

  • Secure accounts and devices

    How an account turns on end-to-end encryption, which keys and signed objects describe it, how a new device gets the keys, and how clients pin, verify, recover, reset and store them.

  • MLS and sealed messages

    How secure contexts use MLS only to agree on keys, and how SealedMessages, visibility, the key archive and HistoryShares are built on those keys.

  • Calls

    How a client joins, stays in and leaves a voice or video call, from the join request and lease ticks to the relay connection, routing, auto-rejoin and Move voice here.

  • Voice and video media

    How a call's microphone, shared sound, screen video and webcam are framed, sent, buffered, adapted and end-to-end encrypted on the voice-dc/1, video-dc/1 and sfu-rtp/1 media profiles.

  • Notifications and push

    How a hosting server turns mentions, DM messages and rings into notify events, how the user's home server applies settings, stores records and sends opaque pushes through a push gateway or Web Push, and what a device does when a push arrives.

  • Client behaviour

    What a conforming client shows the user, from the closed catalogue of warnings, gate cards, timeline markers and UX moments with their exact copy to the never-prompt list, the lock indicator, onboarding, call indicators and the web client hardening profile.

  • Cryptography

    The sv1-c1 crypto suite and the shared rules every other document builds on, from strict base64url and Ed25519 verification to the JWS profile, label registries, AEAD, HPKE, SVF1, CPace, Argon2id and the test vectors.

  • Running a server

    What a Sloppy Voice server deployment runs, how to size it on any infrastructure, how call control talks to relays and SFUs, and the runbooks for DNS, keys, outages, upgrades and restores.

  • Security model

    What each security mode protects and against whom, what servers still see in secure contexts, the accepted residual risks, and the security checklist for clients, bots and servers.