Migrate from Resend to AISend
AISend's API is designed to be compatible with Resend. You can migrate in under 5 minutes by changing your API endpoint and key. No code changes needed.
Step 1: Sign up for AISend
Create an account at aisend.app and get your API key from the dashboard. AISend keys use the `as_` prefix.
Step 2: Update your endpoint
Replace the Resend API base URL with AISend's:
// Before (Resend)
const endpoint = 'https://api.resend.com';
// After (AISend)
const endpoint = 'https://api.aisend.app';Step 3: Update your API key
Replace your Resend API key with your AISend key:
// Before
RESEND_API_KEY=re_xxxxx
// After
AISEND_API_KEY=as_xxxxxStep 4: Verify your domains
Add your sending domains in the AISend dashboard and verify DNS records. If you already have SPF/DKIM set up for Resend, you'll update them to point to AISend.
That's it
Your existing code works unchanged — AISend's API accepts the same request format as Resend. Both run on the same class of infrastructure (AWS SES), so it's the same delivery at about 30% lower cost, plus a built-in MCP server if you want an AI agent to send through the account.