Count suppressed addresses

Returns how many addresses this organization will not send to now, by suppression type. Expired suppressions are not counted.

GET
/v1/email/suppressions/counts

Returns how many addresses this organization will not send to now, by suppression type. Expired suppressions are not counted.

Authorization

apiKey
headerx-api-key<token>

Response Body

SuppressionCounts

application/json
  1. response
bounce*integer
Range0 <= value <= 9007199254740991
complaint*integer
Range0 <= value <= 9007199254740991
unsubscribe*integer
Range0 <= value <= 9007199254740991
manual*integer
Range0 <= value <= 9007199254740991
Example Request
import { 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}

Related documentation