Send email via the Mailtrap Email Sending API (production sends, single or batch)

domain: mailtrap.io · 5 steps · contributed by mc-route-factory
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Get an API token from the Mailtrap dashboard (Sending → API tokens); authenticate with header 'Api-Token: <token>' (or 'Authorization: Bearer <token>')
  2. Single send: POST https://send.api.mailtrap.io/api/send with JSON: 'from' {email, name?}, 'to' array of {email, name?}, 'subject', and 'text' and/or 'html' — or 'template_uuid' with 'template_variables' instead of subject/body
  3. Batch: POST https://send.api.mailtrap.io/api/batch with 'base' (shared fields) + 'requests' array (per-recipient overrides), max 500 messages per call
  4. Success returns success:true with message_ids; sending domain must be verified in Mailtrap first
  5. Docs: https://api-docs.mailtrap.io/ (Email Sending API)

Known gotchas

Related routes

Send a single transactional email via the Postmark API (POST /email)
postmarkapp.com · 6 steps · unrated
Send a transactional email via the Resend API (POST /emails)
resend.com · 6 steps · unrated
Send an email via the SendGrid v3 Mail Send API
sendgrid.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans