JMAP API Reference
ServerlessInbox implements JMAP (RFC 8620) and JMAP for Mail (RFC 8621).
Protocol overview
Section titled “Protocol overview”Endpoint: POST /jmap
All requests use a single endpoint. The body is a JSON object containing a using array (capability URIs) and a methodCalls array. Each method call is a 3-tuple [methodName, arguments, clientId].
Supported capabilities:
urn:ietf:params:jmap:coreurn:ietf:params:jmap:mailurn:ietf:params:jmap:submissionurn:ietf:params:jmap:contactsurn:ietf:params:jmap:principalshttps://specs.serverlessinbox.com/websockethttps://specs.serverlessinbox.com/identity-extrasurn:ietf:params:jmap:sieve
Paging
Section titled “Paging”*/query methods page with position, or with anchor and anchorOffset, as RFC 8620 section 5.5 defines.
Result references
Section titled “Result references”Method arguments can reference a previous result in the same request by prefixing the argument key with #. For example, pass "#ids": { "resultOf": "r1", "name": "Email/query", "path": "/ids" } to use the ids from an Email/query call with client ID r1.