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, then the Keys tab. 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, "tier": "free" }] } -
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.
- SDKs: TypeScript, Python, Go, Rust, Swift, PHP, Java, .NET and Ruby clients that create addresses that receive mail, and read it.
© Northlab Studios Ltd, trading as Mailcycle. Registered in England and Wales, company no. 17462734. Registered office: 167-169 Great Portland Street, London W1W 5PF.