Cloudron Mail API
JSON API for the S42 Mail app.
Send an app token for this app as Authorization: Bearer <token>. Create the token on the Cloudron profile page. It authenticates as that user. Folder, message, draft, and filter routes also require access to that mailbox. Routes that call another app on the user's behalf need a platform access token from a dashboard sign-in. An app token does not include one, and those routes return 401.
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
- HTTP: Bearer Auth
App token for this app, created on the Cloudron profile page. Send it as Authorization: Bearer <token>.
Security Scheme Type: | http |
|---|---|
HTTP Authorization Scheme: | bearer |