brightdata-webhooks-events

Featured

Implement Bright Data webhook signature validation and event handling. Use when setting up webhook endpoints, implementing signature verification, or handling Bright Data event notifications securely. Trigger with phrases like "brightdata webhook", "brightdata events", "brightdata webhook signature", "handle brightdata events", "brightdata notifications".

AI & Automation 2,359 stars 334 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Bright Data Webhooks & Events ## Overview Handle Bright Data webhook deliveries from the Web Scraper API and Datasets API. When you trigger an async collection, Bright Data sends the results to your webhook URL with the collected data in JSON, NDJSON, or CSV format. ## Prerequisites - Web Scraper API or Datasets API configured - HTTPS endpoint accessible from internet - API token for webhook Authorization header ## Instructions ### Step 1: Configure Webhook URL When Triggering Collection ```typescript // trigger-with-webhook.ts const API_TOKEN = process.env.BRIGHTDATA_API_TOKEN!; async function triggerWithWebhook(datasetId: string, urls: string[]) { const params = new URLSearchParams({ dataset_id: datasetId, format: 'json', endpoint: 'https://your-app.com/webhooks/brightdata', // Your webhook URL uncompressed_webhook: 'true', // Send uncompressed for easier handling auth_header: `Bearer ${process.env.BRIGHTDATA_WEBHOOK_SECRET}`, // Auth header sent with delivery }); // Optional: notification URL (lightweight ping when done) params.set('notify', 'https://your-app.com/webhooks/brightdata-notify'); const response = await fetch( `https://api.brightdata.com/datasets/v3/trigger?${params}`, { method: 'POST', headers: { 'Authorization': `Bearer ${API_TOKEN}`, 'Content-Type': 'application/json', }, body: JSON.stringify(urls.map(url => ({ url }))), } ); const result = await response.json(...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
8 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category