Add suppressions in bulk
POST
/suppressions/batch/add授权
AuthorizationBearer 令牌 · header必填A BillionSend API key (bs_…).
请求体
必填application/jsonemailsstring<email>[]必填Addresses to block, up to 1000; duplicates collapse
最少 1 项 · 最多 1000 项
originstringOrigin recorded on rows this request creates (default manual): bounce, complaint or manual; an address already suppressed keeps its origin
允许值:
bouncecomplaintmanual响应
200
One entry per distinct address (case-insensitive) in input order; addresses already suppressed return their existing id and keep their origin. New rows record the request's origin (bounce, complaint or manual; default manual). Accepts up to 1000 addresses.
dataSuppressionIdResponse[]必填显示属性隐藏属性
SuppressionIdResponse 数组objectstring必填允许值:
suppressionidstring<uuid>必填401
Missing, malformed, unknown or revoked API key
statusCodenumber必填namestring必填messagestring必填422
Validation error
statusCodenumber必填namestring必填messagestring必填429
Over the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumber必填namestring必填messagestring必填