Skip to main content
Version: 1.0.0

Mail API

JSON API for the S42 Mail app.

Sign in through the app. Later requests send the session cookie connect.sid. Folder, message, draft, and filter routes also require mailbox access on the session.

Folder names in the path are a single URL-encoded segment.

GET /api/accounts/{accountId}/search and GET /api/search stream newline-delimited JSON. GET /api/events is a Server-Sent Events stream of mailbox changes.

Authentication​

Security Scheme Type:

apiKey

Cookie parameter name:

connect.sid