This page shows how to call a third-party data provider when a bid request arrives on one of your bidding campaigns, so the provider's data can inform screening and routing for that bid. It covers when to use a webhook instead of CallGrid's built-in enrichment, the templates, credentials, using the response, testing and cost.
The Bid Received event fires when a publisher (a source on your bidding campaign) sends you a bid request. It does not fire on bids from your buyers. For static campaigns, use Call Inbound instead.
Choose the right tool first#
What you need | Use |
|---|---|
State, city, ZIP and address for the caller | Built-in Caller Identity Enrichment (a campaign setting, billed per lookup) |
A free ZIP estimate from the area code | Estimate Zip Code |
Do Not Call, litigator or consent checks | Caller Id Lookup webhook templates (see Caller ID Suppression Using "Bid Received" Webhook Events) |
Phone validation, fraud or proxy scores, CRM data | Data Collection webhook templates (this page) |
Data a specific buyer returns | That buyer's destination Ping with Value Extraction |
Templates#
In Integrations > Webhooks > New Webhook, turn on Template Mode. Templates are grouped as Caller Id Lookup, Conversion Pixel and Data Collection. For enrichment you will mostly use Data Collection:
- GoHighLevel: create the caller as a contact in your GoHighLevel CRM. On Bid Received this runs for every bid, so most accounts use a later event (see Setting Up the GoHighLevel Data Collection Webhook).
- IPQualityScore Phone Number: phone validity, line type and fraud signals.
- IPQualityScore Proxy: proxy and VPN detection for web-to-call traffic.
- Searchbug: phone validation and caller data.
- Trestle: caller identification and phone data.
What each provider returns depends on the provider and your plan with them. Check the response fields in the provider's own API documentation. CallGrid does not bundle credit score or property value data.
Set up the webhook#

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

Name (1), Event Bid Received (2), Template Mode on (3), a Data Collection provider such as Trestle (4), then its credential (5).
- Go to Integrations > Webhooks and click New Webhook.
- Turn on Template Mode and pick the provider from the Data Collection group. The template fills in the request.
- Enter the provider credential the template asks for. The field depends on the template: Trestle asks for an API Key, while GoHighLevel and Searchbug ask for a Bearer Authentication Token. If you build the request by hand, put the key in Headers or in the URL, wherever the provider expects it. Use Authorization only if the provider issues OAuth tokens.
- Name: something descriptive, for example
IPQS Phone Check - Bid. - Event: Bid Received.
- Check the request macros. CallGrid macros use the
[[tag:Name]]syntax, for example:[[tag:InboundNumber]]for the caller's number, or[[tag:InboundNumberNoCountry]]for providers that reject a +1 prefix.[[tag:InboundZipCode]],[[tag:InboundStateCode]],[[tag:SourceName]],[[tag:CampaignName]].
- Timeout: keep it short (the default is 5 seconds). The lookup sits in the bid path, so a slow provider delays or loses the bid.
- Tag Routing: click Add Filter if the webhook should run only for some calls or bids.
- Click Save Webhook.
- Open each bidding campaign that needs the lookup, go to General > Webhooks, click + Add Webhook and attach it. A webhook does not fire until it is attached to the campaign.
Use the response#
- Value Extraction writes values from the provider's response into custom tags on the call. Create the target tags in Integrations > Tags first.
- Tags extracted on Bid Received are added before routing, so destination tag filters, bid rules and bid adjustments can use them on the same bid.
- To reject a bid based on the response, set Acceptance Parsing on the response field, then turn on Rejection Settings and pick a Rejection Type (Reject if Acceptance Fails or Reject if Acceptance Passes). Rejection is never automatic; it only happens when you set it up.
When the provider fails#
- Rejection Protection ("Do not reject the call or bid if the webhook http status code is not 200") decides what an outage does. With it on, bids continue without enrichment (fail-open). With it off and rejection configured, a provider error can reject the bid.
- CallGrid does not retry failed webhooks.
- Provider rate limits apply to your account with that provider.
Keep costs under control#
A bidding campaign can receive far more bid requests than calls, and the webhook runs on every one of them, including bids that never become calls. That can use up a provider quota or budget quickly.
- Use built-in Caller Identity Enrichment with Require Confirmation Post on, so lookups run only on confirmed bids.
- Move enrichment that is for reporting or your CRM, not screening, to a later event such as Call Answered or Call Ended.
- Attach the webhook only to the campaigns that need it, and narrow it with Tag Routing filters.
Test it#
- Save the webhook first; testing is enabled after the first save.
- In Webhook Testing, enter a real-format caller number and click Run Webhook. Check the provider's response and status code.
- Attach the webhook to a test bidding campaign and send a test bid.
- Check Reports > Bids for the bid's Outcome and Code, and the call timeline for the webhook execution.
Troubleshooting#
Symptom | Check |
|---|---|
Webhook never fires | It is attached on the campaign's General tab, the event is Bid Received, and the campaign is a bidding campaign |
401 or 403 from the provider | The credential field and the key itself |
Provider says the phone is invalid | Use |
Bids slow or lost | Lower the Timeout, or move enrichment later in the call |
Every bid rejected during an outage | Turn on Rejection Protection |
Provider quota used up | Bid volume is much higher than call volume; narrow the webhook or move the event |
Compliance#
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: "Which webhooks are set up in my account, and which events do they fire on?" Setup guides: Claude and ChatGPT. The connector is read only. It looks things up; you make the changes in CallGrid.
Stuck on a step? Ask Griddy.