# How I Found a Batch API Quota Bypass in an Email Platform
A batch-send endpoint on an email API platform did not enforce the same daily quota as the single-send endpoint, allowing an account to send more emails than its limit. An attacker could bypass free-tier quotas and send higher volumes of email, potentially for spam or phishing.
Published on medium.com
While testing an authorized account on an email API platform, I found that a batch-send endpoint did not enforce the same daily quota checks as the normal single-send endpoint.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely inconsistent business-logic enforcement: the batch-send endpoint skipped or used different quota checks compared to the single-send endpoint.
Impact
An attacker could bypass free-tier quotas, send higher-than-allowed email volume, and potentially abuse the platform for spam or phishing, while dashboard usage counters remained misleadingly low.
What the attacker needed
Authorized account on the platform
The fix
The fix should apply the same quota checks to every endpoint that sends email, count all messages from batch sends against the quota, and ensure dashboard counters reflect actual usage.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
An email platform lets you send emails through its API. It has a daily limit on how many you can send. There were two ways to send: one email at a time, or many at once in a batch. The limit was only checked on the single-email way, so the batch way let you keep sending after you hit the limit.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.