Learn
Rate limits & quotas
How much you can send and how to stay within limits.
| Limit | Free plan |
|---|---|
| Emails per month | 3,000 |
| Emails per day | 100 |
| Requests per second | 10 per workspace |
| Recipients per email | 50 |
Response headers
| Header | Meaning |
|---|---|
| X-RateLimit-Limit | Requests allowed per second |
| X-RateLimit-Remaining | Requests left in the current second |
| Retry-After | Seconds to wait, sent with every 429 |
Backing off
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}
Daily and monthly quotas reset at 00:00 UTC. When a quota is used up, sends return 429 with daily_quota_exceeded or monthly_quota_exceeded.