Imparare

Limiti tariffari e quote

Quanto puoi inviare e come rispettare i limiti.

LimitePiano gratuito
Email al mese3,000
Email al giorno100
Richieste al secondo10 per workspace
Destinatari per email50

Intestazioni di risposta

IntestazioneSignificato
Limite di velocità XRichieste consentite al secondo
X-RateLimit-RemainingRichieste lasciate nel secondo corrente
Riprova dopoSecondi di attesa, inviati ogni 429

- Si'. - Si'.

1async function send(body, attempt = 0) {
2  const res = await fetch("https://sendtern.com/emails", { method: "POST", headers, body });
3  if (res.status === 429 && attempt < 5) {
4    const wait = Number(res.headers.get("Retry-After") || 2 ** attempt);
5    await new Promise((r) => setTimeout(r, wait * 1000));
6    return send(body, attempt + 1);
7  }
8  return res.json();
9}

Le quote giornaliere e mensili vengono resettate alle 00:00 UTC.Quando una quota è esaurita, invia un messaggio di ritorno . 429 con daily_quota_exceeded o monthly_quota_exceeded.