paths are under /v0 except /health, /openapi.json; {org} = /orgs/{orgId}; +org = also at {org}/…; 401 = no or bad credential; 403 = org suspended or role too low GET /me Get the user #get.me POST /me/session Start a session #post.me.session GET {org}/api-keys List API keys #get.orgs._.api-keys POST {org}/api-keys Create API key #post.orgs._.api-keys DELETE {org}/api-keys/{keyId} Revoke API key #delete.orgs._.api-keys._ PATCH {org}/api-keys/{keyId} Set key permissions #patch.orgs._.api-keys._ GET {org}/billing Get billing #get.orgs._.billing POST {org}/billing/checkout Plan checkout #post.orgs._.billing.checkout POST {org}/billing/portal Billing portal #post.orgs._.billing.portal POST {org}/billing/refresh Refresh billing #post.orgs._.billing.refresh POST {org}/billing/topup Top-up checkout #post.orgs._.billing.topup GET {org}/lapse Get lapse state #get.orgs._.lapse PUT {org}/lapse/keep Keep inboxes #put.orgs._.lapse.keep GET /usage Get usage +org #get.usage GET /draft-view/{token} Draft as HTML #get.draft-view._ GET /drafts List drafts +org #get.drafts DELETE /drafts/{draftId} Delete a draft +org #delete.drafts._ GET /drafts/{draftId} Get draft +org #get.drafts._ PATCH /drafts/{draftId} Update a draft +org #patch.drafts._ POST /drafts/{draftId}/send Send draft +org #post.drafts._.send POST /inboxes/{inboxId}/drafts Create draft +org #post.inboxes._.drafts GET {org}/drafts/{draftId}/attachments/{attachmentId} Draft attachment #get.orgs._.drafts._.attachments._ POST {org}/drafts/{draftId}/reject Reject draft #post.orgs._.drafts._.reject POST {org}/drafts/{draftId}/view Draft view link #post.orgs._.drafts._.view GET /events Read events +org #get.events GET /inboxes List inboxes +org #get.inboxes POST /inboxes Create inbox +org #post.inboxes DELETE /inboxes/{inboxId} Delete inbox +org #delete.inboxes._ GET /inboxes/{inboxId} Get inbox +org #get.inboxes._ PATCH {org}/inboxes/{inboxId} Set inbox approval #patch.orgs._.inboxes._ POST /invitations/accept Accept invitation #post.invitations.accept GET {org}/invitations List invitations #get.orgs._.invitations POST {org}/invitations Invite #post.orgs._.invitations DELETE {org}/invitations/{id} Revoke invitation #delete.orgs._.invitations._ GET {org}/members List members #get.orgs._.members DELETE {org}/members/{userId} Remove member or leave #delete.orgs._.members._ PATCH {org}/members/{userId} Set member role #patch.orgs._.members._ POST /orgs Create org #post.orgs DELETE {org} Delete org #delete.orgs._ GET {org} Get org #get.orgs._ PATCH {org} Rename org #patch.orgs._ POST {org}/owner Transfer ownership #post.orgs._.owner POST {org}/undo-delete Undo deletion #post.orgs._.undo-delete POST /inboxes/{inboxId}/messages Send message +org #post.inboxes._.messages POST /messages/{messageId}/forward Forward +org #post.messages._.forward POST /messages/{messageId}/reply Reply +org #post.messages._.reply GET /health Health check #get.health GET /openapi.json OpenAPI document #get.openapi.json GET /brief API Brief #get.brief GET /brief/{ref} Operation's Brief #get.brief._ GET /status Service status #get.status DELETE /suppressions Remove suppression +org #delete.suppressions GET /suppressions List suppressions +org #get.suppressions GET /attachments/{attachmentId} Attachment +org #get.attachments._ GET /inboxes/{inboxId}/threads List threads +org #get.inboxes._.threads GET /messages/{messageId} Get message +org #get.messages._ GET /messages/{messageId}/raw Raw MIME +org #get.messages._.raw POST /messages/{messageId}/view Message view link +org #post.messages._.view POST {org}/threads/{threadId}/read Mark thread read #post.orgs._.threads._.read POST {org}/threads/{threadId}/unread Mark thread unread #post.orgs._.threads._.unread GET /threads Search threads +org #get.threads GET /threads/{threadId} Get thread +org #get.threads._ GET /view/{token} Message as HTML #get.view._ GET /view/{token}/att/{attachmentId} Viewed attachment #get.view._.att._ GET /event-types Event types #get.event-types GET {org}/webhooks List webhooks #get.orgs._.webhooks POST {org}/webhooks Create webhook #post.orgs._.webhooks DELETE {org}/webhooks/{endpointId} Delete webhook #delete.orgs._.webhooks._ PATCH {org}/webhooks/{endpointId} Update webhook #patch.orgs._.webhooks._ GET {org}/webhooks/{endpointId}/deliveries Webhook deliveries #get.orgs._.webhooks._.deliveries POST {org}/webhooks/{endpointId}/rotate-secret Rotate secret #post.orgs._.webhooks._.rotate-secret