The Searchbug integration validates phone numbers in real-time, identifying line types, carriers, connection status, and DNC/TCPA compliance information to help improve data quality and marketing compliance.
Prerequisites
Before setting up your webhook, you'll need:
- An active Searchbug account
- Bearer authentication token from your Searchbug account
- Prepaid balance loaded for API queries
Setup Process
1. Get Your Authentication Token
- Log into your Searchbug account
- Navigate to your account settings
- Find the API section and copy your Bearer authentication token
- Ensure your account has sufficient prepaid balance for phone validation queries
2. Create New Webhook
- Navigate to Integrations → Webhooks
- Click + New Webhook
- Select Data Collection template type
- Choose Searchbug from the dropdown
3. Basic Configuration

- Bearer Authentication Token: Enter your Searchbug Bearer token
- Name: Give your webhook a name
- Event: Select Call Completed
- Click Save Webhook
4. Advanced Options
After saving, you can configure additional settings:

Dynamic Variables The system automatically maps call data to Searchbug validation parameters:
- InboundNumber maps to the phone number parameter for validation
Request Structure The webhook sends a POST request with form data containing:
- Phone number for line type and carrier identification
- API location and format parameters for JSON response
- Bearer authentication for secure API access
Filtering

- Add filters using any system tag (InboundState, BuyerName, CampaignName, etc.)
- Use Equals conditions to control when validation occurs
- Combine conditions with Add Or Rule or Add And Rule
Value Extraction After running a webhook test to discover response properties:

- Select response properties like line_type, carrier, active_status, dnc_status, etc.
- Map them to custom tags for advanced routing and compliance filtering
- Use extracted data to automatically identify cell phones vs landlines
- Route calls based on carrier information and DNC compliance status
Testing

- Fill in test values for InboundNumber (use a real phone number)
- Click Run Webhook to verify the integration
- Review the response data to see validation results and available properties
Best Practices
- Monitor your prepaid balance and usage for cost control
- Set up value extraction to capture line type and carrier information
- Use DNC and TCPA compliance data for regulatory adherence
- Test with various number types to ensure proper line type identification
- Configure filtering to avoid unnecessary API calls for known internal numbers
Troubleshooting
- Verify your Bearer token is active and correctly formatted
- Ensure your Searchbug account has sufficient prepaid balance
- Check that phone numbers are in the correct format for validation
- Monitor API response times and adjust timeout settings if needed
- Review Searchbug documentation for specific error codes and responses
The integration enables real-time phone number validation and compliance checking, helping you automatically identify line types, carriers, and regulatory status to improve marketing effectiveness and maintain TCPA compliance.
Related Articles
Continue exploring with these related insights
CallGrid Bid API - Advanced Integration Guide
The CallGrid Bid API allows custom platforms and developers to send real-time bid requests to CallGrid campaigns.
Read ArticlePosting Bids from CallGrid to CallGrid using RTB
This guide will walk you through setting up your CallGrid campaign to send bid requests to another CallGrid customer.
Read ArticleCall Recording Best Practices
Call recording laws vary by state. Some states require only your consent, while others require everyone's consent (all-party consent).
Read ArticleGetting Started with CallGrid
Welcome to CallGrid! This guide will walk you through your first steps to get your account up and running quickly.
Read ArticleAuthor
CallGrid Team
Article Info
Categories
Topics