← All Guides
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. You now get AI-powered deliverability, smart provider routing, and send time optimization — all automatically.