Count suppressed addresses
Returns how many addresses this organization will not send to now, by suppression type. Expired suppressions are not counted.
GET
Returns how many addresses this organization will not send to now, by suppression type. Expired suppressions are not counted.
apiKeyheader
x-api-key<token>SuppressionCounts
application/json- response
bounce*integerRange
0 <= value <= 9007199254740991complaint*integerRange
0 <= value <= 9007199254740991unsubscribe*integerRange
0 <= value <= 9007199254740991manual*integerRange
0 <= value <= 9007199254740991import { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.email.countSuppressions({});Example Response
{ "bounce": 0, "complaint": 0, "unsubscribe": 0, "manual": 0}