Quickstart
-
Create an account in the Mailcycle app. An account is a twelve-word recovery phrase; there is no email or password.
-
Create an API key. API keys need the Operator plan or higher. In the app, open API, give the key a name and select Create key. Copy the token now: it starts with
mak_and is shown once.Terminal window export MAILCYCLE_API_KEY="mak_..."On Free or Personal, use a session token instead. See Authentication.
-
Check the key works.
Terminal window curl https://api.mailcycle.email/accounts/me \-H "Authorization: Bearer $MAILCYCLE_API_KEY"The response names the account and its plan.
-
See where you can create addresses.
Terminal window curl https://api.mailcycle.email/domains \-H "Authorization: Bearer $MAILCYCLE_API_KEY"{ "domains": [{ "domain": "example-pool.email", "reserved": false }] } -
List your email addresses.
Terminal window curl https://api.mailcycle.email/inboxes \-H "Authorization: Bearer $MAILCYCLE_API_KEY"
- Authentication: what a key can and cannot do.
- Reading mail: listing messages and what comes back.
- Sending mail: send from an address you own.