jmap.dev

JMAP request playground

Connect to your own server, pick a request or write your own, and see exactly what comes back. The ready made requests only read. Anything you write yourself runs on your real account, so take care with /set methods.

Your token goes from your browser straight to your server. jmap.dev never sees it. If you type a domain, we look up its session URL for you, without the token.

Reading a request

using lists the capabilities the request needs. methodCalls is a list of steps, each with a method name, its arguments and a short label of your choosing. A step can use another step's result with a back reference, such as "#ids": {"resultOf": "q", "name": "Email/query", "path": "/ids"}. See JMAP by example for more.

The ready made requests

RequestWhat it showsNeeds
List my foldersEvery mailbox, with its role and how many messages are unreadMail
Newest 10 in my inboxWho sent your newest messages and a preview of each, found in one request with a back referenceMail
Search my mailFull text search across your mailboxMail
Unread mailThe newest messages not yet marked as readMail
My sending addressesThe identities you can send fromSending
What's changedThe current state, so you can ask for only what changed next timeMail
My away replyWhether your automatic away reply is on, and what it saysAway replies
My storageHow much space you're using and how much you haveQuotas
My address booksYour address books, on servers with JMAP ContactsContacts
Echo testSends back exactly what you sent, so you know requests get throughCore only

A request whose capability your server doesn't list won't work there. The capabilities reference explains each one, and the checker shows which your server has.

What you need

It says my browser wasn't allowed

Your server doesn't let web pages call it (CORS). That's common and doesn't affect apps. Copy the curl command and run it on your own computer instead.