Skip to content

Mail.td APIDeveloper Email Platform

Unified REST API for creating email addresses and receiving emails. Same endpoints for free and Pro users.

Quick Start โ€‹

bash
# 1. Get available domains
curl https://api.mail.td/api/domains

# 2. Create a mailbox
curl -X POST https://api.mail.td/api/accounts \
  -H "Authorization: Bearer td_xxxxxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"address":"myname@mail.td","password":"mypassword123"}'

# 3. Fetch messages (use the account ID from step 2)
curl https://api.mail.td/api/accounts/{account_id}/messages \
  -H "Authorization: Bearer td_xxxxxxxxxxxxxxxxxxxx"

How it works โ€‹

  1. Get domains โ€” Fetch the list of available email domains
  2. Create account โ€” Pick a domain and create an email address (returns an account ID)
  3. Use the address โ€” Give the address to any service that requires email verification
  4. Fetch messages โ€” Use the account ID to read your emails

For AI assistants โ€‹

A structured, LLM-optimized version of this documentation is available at /llms.txt. It includes API routing instructions, endpoint summaries, and integration guidance formatted for accurate code generation. Learn more

Mail.td API Documentation