Resend REST API
Modern email API for developers
Resend is a developer-first email API that makes it easy to send transactional and marketing emails. Built with modern web standards, it provides simple HTTP APIs for sending emails, managing contacts, and tracking delivery. Developers choose Resend for its clean API design, excellent deliverability, and comprehensive SDKs.
https://api.resend.com
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /emails | Send a single email with HTML, text, or React components |
| POST | /emails/batch | Send multiple emails in a single API request |
| GET | /emails/{email_id} | Retrieve details about a specific email by ID |
| PATCH | /emails/{email_id}/cancel | Cancel a scheduled email before it's sent |
| POST | /domains | Add a new domain for sending emails |
| GET | /domains | List all verified domains in your account |
| GET | /domains/{domain_id} | Get verification status and DNS records for a domain |
| DELETE | /domains/{domain_id} | Remove a domain from your account |
| POST | /audiences | Create a new audience for managing contacts |
| GET | /audiences | List all audiences in your account |
| POST | /audiences/{audience_id}/contacts | Add contacts to an audience |
| GET | /audiences/{audience_id}/contacts | Retrieve all contacts in a specific audience |
| DELETE | /audiences/{audience_id}/contacts/{contact_id} | Remove a contact from an audience |
| POST | /api-keys | Generate a new API key for authentication |
| GET | /api-keys | List all API keys in your account |
Sponsor this page
AvailableReach developers actively building with Resend. See live pageview data and self-serve checkout — your slot goes live in minutes.
View inventory & pricing →Code Examples
curl -X POST https://api.resend.com/emails \
-H 'Authorization: Bearer re_123456789' \
-H 'Content-Type: application/json' \
-d '{
"from": "onboarding@yourdomain.com",
"to": "user@example.com",
"subject": "Welcome to our platform",
"html": "<p>Thanks for signing up!</p>"
}'
Use Resend from Claude / Cursor / ChatGPT
Get a hosted MCP endpoint for Resend. Paste your Resend API key, copy back one URL, drop it into Claude Desktop, Cursor, or any AI client that supports remote MCP. Your AI calls Resend directly with your credentials — no local install, works on mobile.
send_email
Send transactional emails with dynamic content generated by AI
send_batch_emails
Send personalized emails to multiple recipients with AI-generated content
get_email_status
Check delivery status and engagement metrics for sent emails
manage_audiences
Create and manage contact audiences for segmented email campaigns
verify_domain
Add and verify sending domains with DNS configuration assistance
Connect in 60 seconds
Paste your Resend key → get an MCP URL → paste into Claude/Cursor. Hosted by IOX, encrypted at rest.
Connect Resend to your AI →