Skip to content

Quickstart

  1. Create an account in the Mailcycle app. An account is a twelve-word recovery phrase; there is no email or password.

  2. 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.

  3. 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.

  4. 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 }] }
  5. List your email addresses.

    Terminal window
    curl https://api.mailcycle.email/inboxes \
    -H "Authorization: Bearer $MAILCYCLE_API_KEY"