CallGrid

Caller ID Suppression Using "Bid Received" Webhook Events

Stop listed callers before they reach buyers: use the CallGrid blocklist, then add a Caller Id Lookup webhook on Bid Received with rejection settings.

Updated 5 min read

Caller ID suppression stops calls from specific numbers before they reach your buyers. This page covers the two layers CallGrid offers: the built-in blocklist, and a real-time lookup webhook that checks an outside list when a bid request arrives. Typical reasons to suppress a caller:

  • Compliance: federal or state Do Not Call lists, known TCPA litigators.
  • Internal suppression: numbers you or a buyer flagged.
  • Fraud and spam: known robocall or fraudulent numbers.
  • Previous conversions: callers who already bought.

Two layers#

Use the blocklist first. Add a webhook lookup when you need an outside list checked in real time.

Layer

Where

When it is checked

Blocklist (whole account or one campaign)

Numbers > Blocked Numbers, the /api/blocked API, or a postback rule with Add to blocklist

Before routing. A blocked caller never reaches a buyer.

Caller Id Lookup webhook

Integrations > Webhooks, attached to the campaign

At the webhook's event, against an outside service

Layer 1: the blocklist#

In the app#

Go to Numbers > Blocked Numbers:

  • Check Number: check a number's block status across all campaigns.
  • Upload File: a CSV or TXT file of numbers (up to 40MB). Pick a campaign with Select Campaign to block the numbers on that campaign only; leave it empty to block them on every campaign.
  • Download Global: download the account-wide blocklist.

By API#

Base URL https://api.callgrid.com. Authenticate with an Authorization: Bearer <key> header (recommended) or the apiKey query parameter, using an organization API key from Organization > API Keys.

Call

What it does

POST /api/blocked with phoneNumber

Blocks the number on every campaign, or on one campaign if you add campaignId. Blocking a number that is already on the list returns 400.

GET /api/blocked?phoneNumber=

Checks the account-wide list, or one campaign's list with campaignId.

GET /api/blocked/search

Looks a number up across the account-wide list and every active campaign list.

DELETE /api/blocked

Removes a number.

GET /api/blocked/download

Downloads the account-wide list, one number per line.

The in-app API reference at /documentation/api lists the full details.

From a buyer's disposition#

A buyer can suppress a caller after the call by firing a postback whose rule has Add to blocklist.

Layer 2: a real-time lookup webhook#

Templates#

In Integrations > Webhooks > New Webhook, turn on Template Mode. The Caller Id Lookup group has four templates:

  • Blacklist Alliance
  • Contact Center Compliance
  • TCPA Litigator List
  • TrustedForm

Data Collection templates (such as IPQualityScore and Searchbug) return phone validation and fraud data rather than a suppression decision. See Caller ID Enrichment Using "Bid Received" Webhook Events for those.

Pick the event#

Campaign type

Event

Notes

Bidding

Bid Received

Runs when a bid request arrives from a source, so a listed caller can be screened before you return a bid.

Static

Call Inbound

Runs before routing. The buyer and destination are not known yet, so rejection cannot depend on buyer or destination tags.

Call Initiated also supports rejection, but it fires after a destination is selected, just before the dial, so it is too late to change routing.

Set up the webhook#

Manage Webhooks page with Integrations > Webhooks and the New Webhook button highlighted

Integrations > Webhooks (1), then + New Webhook (2).

  1. Go to Integrations > Webhooks and click New Webhook.
  2. Turn on Template Mode and pick the provider from the Caller Id Lookup group. The template fills in the request.
  3. Enter the provider credential the template asks for. The Blacklist Alliance template has an API Key field. Other templates show the credential fields their provider needs.
New Webhook for Bid Received suppression: Name, Event Bid Received, Template Mode on, Blacklist Alliance template and API Key highlighted

Name (1), Event Bid Received (2), Template Mode on (3), a Caller ID Lookup provider such as Blacklist Alliance (4), then its API Key (5).

  1. Name it, for example DNC Check - Blacklist Alliance, and choose the Event from the table above. (The screenshot shows Call Inbound, the static campaign choice; pick Bid Received for a bidding campaign.)
  2. Check the request uses CallGrid macros, for example:
JSON
{  "phone": "[[tag:CallerId]]"}
  1. Set Timeout low (the default is 5 seconds). The lookup sits in the call or bid path.
  2. Click Save Webhook.
  3. Set up the rejection. Suppression is not automatic; nothing is rejected until you configure it:
    • Acceptance Parsing: point it at the field in the provider's response that says whether the number is listed. Use Webhook Testing to see the real response before you choose the field.
    • Rejection Settings: turn it on and pick a Rejection Type, Reject if Acceptance Fails or Reject if Acceptance Passes, so a listed number is the one rejected.
    • Rejection Protection: decide how outages behave (see below).
  4. Open each campaign, go to General > Webhooks, click + Add Webhook and attach it. The webhook does not run until it is attached.

Fail-open or fail-closed#

Rejection Protection: "Do not reject the call or bid if the webhook http status code is not 200. This is to protect against false rejections due to network issues."

  • On (fail-open): a provider outage or timeout lets calls through. Protects revenue.
  • Off (fail-closed): a provider error can reject the call or bid. Stronger compliance posture, but an outage stops traffic.

CallGrid does not retry failed webhooks, so a timed-out lookup is not sent again.

Test it#

  1. Add a known test number to the provider's list or to the CallGrid blocklist.
  2. In Webhook Testing, click Run Webhook with that number and check the response and acceptance result.
  3. Send a test bid or call from that number and confirm it is rejected.
  4. Send a clean number and confirm it routes.
  5. For bids, check Reports > Bids: a caller rejected by the blocklist or a Bid Received webhook returns code 4007 (Caller blocked).

Troubleshooting#

Symptom

Check

A listed caller still reached a buyer

The webhook is attached to this campaign, the event matches the campaign type, and Rejection Settings are on with the right Rejection Type

Everything is rejected

Credentials expired, or the provider returns non-200 while Rejection Protection is off

Calls or bids are slow

Lower the webhook Timeout; move static lists into the CallGrid blocklist

API block returns 400

The number is already on that list

Compliance notes#

  • Keep an audit trail: blocklist upload history, your own API logs, and call logs.
  • Send only the data the provider needs, usually the phone number.
  • CallGrid does not give legal advice on consent or TCPA; check with your own counsel.

Do it with AI#

Ask Claude or ChatGPT through the CallGrid connector: "Is 3035551234 on my blocked numbers list?" Setup guides: Claude and ChatGPT. The connector is read only. It looks things up; you add or remove numbers in CallGrid.

Stuck on a step? Ask Griddy.