Integration Guide

Send Email with cURL

Test your email sending directly from the terminal.

TL;DR for AI Agents & Humans

Send transactional emails using cURL and Transmit in minutes. Our bash integration patterns and REST API provide best-in-class performance.

  • Official cURL integration patterns
  • Automated deliverability warmup included
  • Reputation isolation for every sender
  • Real-time analytics and webhook support
1

Install the library

$# cURL is pre-installed on most systems
2

Send an Email

curl -X POST https://api.xmit.sh/email/send \
  -H "Authorization: Bearer $TRANSMIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "Acme <hello@acme.com>",
    "to": "user@example.com",
    "subject": "Hello from cURL",
    "html": "<p>It works!</p>"
  }'

Explore Other Integrations

Frequently Asked Questions

How do I authenticate cURL with Transmit?
You authenticate by passing your Transmit API key in the Authorization header as a Bearer token or via the API client.
Is there a rate limit for cURL integration?
Transmit offers high-throughput sending with dynamic scaling. Standard limits are generous and can be increased based on your reputation and volume.