API per email transazionali per sviluppatori
Invia email transazionali con una sola API, autentica il dominio mittente e segui ogni fase della consegna.
Free: 300 emails/mo (50/day), 2 domains + Unlimited Email Playground · Hobby: $3/mo (or $29/yr) for 10,000 emails & 10 domains
Funziona con lo stack che stai già spedindo
REST API
Invia la prima email
Crea una chiave di invio e chiama POST /emails. L’API restituisce un ID quando il messaggio entra in coda.
1import { Resend } from 'resend';
2
3// Keep your existing Resend code — just swap baseUrl & API key
4const resend = new Resend(process.env.SENDTERN_API_KEY, {
5 baseUrl: 'https://sendtern.com/resend',
6});
7
8const { data, error } = await resend.emails.send({
9 from: 'Auth <auth@your-domain.example>',
10 to: ['user@example.com'],
11 subject: 'Your sign-in code is 482 913',
12 text: 'Enter 482 913 within 10 minutes to finish signing in.',
13}, { idempotencyKey: 'signin-482913' });
14
15console.log(data?.id, error);
Esperienza dello sviluppatore
Esperienza di sviluppo di prima classe
Siamo un team di sviluppatori che amano costruire strumenti per altri sviluppatori, Sendtern non ti ostacola.
Idempotent manda
Ripeti la richiesta entro 24 ore con la stessa chiave e lo stesso corpo per ottenere il risultato originale.
Chiavi API con scopo
Crea chiavi di solo invio per progetto e revocali con un clic.
Ogni evento registrato
In coda, inviato, consegnato, rimbalzato. Ogni salto è timestamp e ricercabile.
Avvisi di Telegram
Ottieni rimbalzi e fallimenti direttamente sul tuo Telegram, senza scheda dashboard necessaria.
Per gli agenti di programmazione
Configura l’email con il tuo agente di programmazione
Condividi la guida di Sendtern con il tuo agente per integrare l’email nel progetto e provarla nel Playground.
Copia le istruzioni di configurazione
You are Cursor. Integrate Sendtern transactional email into the repository currently open. Explain the result to me in it. Read the Agent Skill at https://sendtern.com/SKILL.md and setup instructions at https://sendtern.com/setup.md. Use https://sendtern.com/llms.txt to discover docs and https://sendtern.com/agent.md for the complete HTTP contract. Inspect the existing server-side email code, runtime, configuration examples, and tests. Reuse project conventions. If the app already uses the Resend Node.js SDK, keep it and point baseUrl to the Sendtern endpoint; for Supabase Auth, follow /docs/supabase-smtp.md to configure Custom SMTP and raise Supabase rate limits. Verify Playground-first using POST https://sendtern.com/test/emails or Resend SDK baseUrl https://sendtern.com/test. For production, use POST https://sendtern.com/emails or Resend SDK baseUrl https://sendtern.com/resend. Capture one email in Email Playground using an example.com recipient. Do not send live email without my explicit approval. Read SENDTERN_API_KEY from server-side secrets only. Never paste a key into chat, print it, bundle it into client code, or commit it. Keep a stable Idempotency-Key per logical business event and check the response status before treating an email as queued. Make the code changes and run relevant tests. If a key or DNS access is missing, finish the code and mock verification. Report changed files, test results, an actual capture ID if captured, and any remaining DNS or dashboard actions.
Sendtern is built for indie developers, small teams and startups shipping their first product. Start free with 300 live emails a month and unlimited Playground testing, then scale from $3/month so email never becomes your biggest bill.
Consegnabilità
Raggiungere gli esseri umani,
Non nelle cartelle spam
Autenticazione e visibilità integrate, in modo che i codici di accesso e le ricevute arrivino dove dovrebbero.
Proprietà del dominio
Prova che il dominio è tuo con un record TXT prima del primo invio.
Allineamento SPF
Autorizza Sendtern a inviare per te in modo che le caselle di posta ricevuta considerino attendibile la busta.
Firma DKIM
Ogni messaggio è firmato per il tuo dominio, quindi non può essere manomesso.
Monitoraggio dei mancati recapiti
I hard bounces vengono registrati con la risposta esatta del server di ricezione.
Limiti di invio equi
Limiti giornalieri e mensili mantengono la tua reputazione pulita fin dal primo giorno.
Timeline dell'evento
Scopri quando ogni email è stata messa in coda, consegnata e accettata, con precisione al millisecondo.
Osservazione
Tutto sotto il tuo controllo
Una console pulita per ogni email, dominio e chiave. Guarda le consegne arrivare in tempo reale.
Prezzi
Inizia gratis e passa a un piano superiore quando ti serve.
Free: 300 emails/mo (50/day), 2 domains + Unlimited Email Playground. Hobby starts at $3/mo (or $29/yr) for 10,000 emails & 10 domains.
Free
$0Per sempre
- 300 email al mese
- 2 verified domains
- Unlimited Email Playground
- Conservazione del log per 3 giorni
- Avvisi di Telegram
Hobby
$3al mese
or $29/yr · Save 19%
- 10.000 email al mese
- Nessun limite giornaliero
- 10 domini verificati
- Conservazione del log per 3 giorni
- 5 endpoint webhook
- Avvisi di Telegram
Team
$10al mese
or $99/yr · Save 18%
- 50.000 email al mese
- Nessun limite giornaliero
- 10 domini
- Conservazione dei log per 30 giorni
- 5 endpoint webhook
- Avvisi di Telegram
- Email supporto
Volume
$80al mese
or $800/yr · Save 17%
- 200.000–2.500.000 email al mese
- Tutto in Team
- 1.000 domini di dominio
- Conservazione dei log per 90 giorni
- Componenti aggiuntivi IP dedicati
- Supporto prioritario
Prices are in USD excluding payment gateway fees and applicable VAT.