JMAP session resource

Demo · format-valid IANA · permanent

/.well-known/jmap

Standard: RFC 8621 (JMAP)

JSON Meta Application Protocol: one URL that bootstraps an entire mail/calendar API session.

What it is

JMAP is a modern JSON API for mail (RFC 8620/8621). A JMAP server publishes a session resource at /.well-known/jmap describing capabilities, accounts, and the API/upload/download/event URLs — a client needs only the domain and one GET to connect.

The threat it addresses

IMAP's many extensions and bespoke configs make clients fragile; each vendor invents its own API. JMAP's well-known session URL gives clients a single, discoverable entry point with explicit capability negotiation.

How it works

  • The server serves /.well-known/jmap with capabilities, accounts, and apiUrl/downloadUrl/uploadUrl templates.
  • Clients fetch it once, then speak JSON to the apiUrl.
  • EventSource URL enables push-style updates.

Honesty notes

  • Demo: illustrative session resource — no JMAP server runs here.

Try it

Live demo

Format-valid demo session resource

Content-Type: application/json; charset=utf-8
{
  "capabilities": {},
  "accounts": {},
  "primaryAccounts": {},
  "username": "demo@well-known.page",
  "apiUrl": "https://well-known.page/demo/jmap",
  "downloadUrl": "https://well-known.page/demo/jmap/download/{accountId}/{blobId}/{name}?accept={type}",
  "uploadUrl": "https://well-known.page/demo/jmap/upload/{accountId}",
  "eventSourceUrl": "https://well-known.page/demo/jmap/events",
  "_demo_note": "Illustrative JMAP (RFC 8620) session resource. No JMAP server runs here."
}