API

Send email programmatically from your own domain.


ZXC Mailing exposes a small HTTP API so you can send email from your mailbox programmatically — from a script, a server, or another app. Everything is plain JSON over HTTPS, so any language with an HTTP client works.

Base URL

All API requests go to:

https://api.email.zxcinc.dev

Authentication

The API authenticates with a mailbox token. Create one in your mailbox under Config → Tokens. Each token is tied to a single mailbox and can be revoked at any time.

Send it on every request as a Bearer token:

Authorization: Bearer YOUR_TOKEN

An x-auth: YOUR_TOKEN header is also accepted if you can't set an Authorization header.

🔑

Treat tokens like passwords — anyone with one can send mail as your mailbox. Keep them out of client-side code and revoke any that leak.

Endpoints

Send Email

POST a message and have it delivered from one of your aliases.

View

Receive Email

How inbound mail reaches your mailbox.

View