Connect to AI
Email & Messaging Bearer Token

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.

Base URL https://api.resend.com

API Endpoints

MethodEndpointDescription
POST/emailsSend a single email with HTML, text, or React components
POST/emails/batchSend multiple emails in a single API request
GET/emails/{email_id}Retrieve details about a specific email by ID
PATCH/emails/{email_id}/cancelCancel a scheduled email before it's sent
POST/domainsAdd a new domain for sending emails
GET/domainsList 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/audiencesCreate a new audience for managing contacts
GET/audiencesList all audiences in your account
POST/audiences/{audience_id}/contactsAdd contacts to an audience
GET/audiences/{audience_id}/contactsRetrieve all contacts in a specific audience
DELETE/audiences/{audience_id}/contacts/{contact_id}Remove a contact from an audience
POST/api-keysGenerate a new API key for authentication
GET/api-keysList all API keys in your account

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 →

Related APIs