Skip to main content
GET
https://dataapi.dncscrub.com
/
v1.5
/
TrustCall
/
FlagsRemovedSummary
Flags Removed Summary
curl --request GET \
  --url https://dataapi.dncscrub.com/v1.5/TrustCall/FlagsRemovedSummary \
  --header 'loginId: <loginid>'
{
  "Att": 5,
  "Tmobile": 12,
  "Verizon": 8,
  "RogersBell": 0,
  "Total": 25
}
Retrieve a summary of spam flags that have been removed across carriers within a specified time period. This endpoint provides counts of flags removed for AT&T, Rogers/Bell, T-Mobile, Verizon, and Total flags removed.

Request

Headers

loginId
string
required
Your API Key (LoginId from your DNCScrub account)

Query Parameters

days
integer
default:"7"
Number of days to look back. Minimum is 1, maximum is 90. Defaults to 7.

Example Request

curl --location --request GET \
  'https://dataapi.dncscrub.com/v1.5/TrustCall/FlagsRemovedSummary?days=30' \
  --header 'loginId: YOUR_API_KEY'
{
  "Att": 5,
  "Tmobile": 12,
  "Verizon": 8,
  "RogersBell": 0,
  "Total": 25
}

Response Fields

Att
integer
Number of AT&T flags removed in the specified period. For Canadian accounts, this will be 0.
Tmobile
integer
Number of T-Mobile flags removed in the specified period
Verizon
integer
Number of Verizon flags removed in the specified period
RogersBell
integer
Number of Rogers/Bell flags removed in the specified period. For US accounts, this will be 0.
Total
integer
Total number of flags removed across all supported carriers in the specified period

Error Responses

StatusDescription
400 Bad RequestInvalid days parameter (must be between 1 and 90)
401 UnauthorizedInvalid or missing API key