webhook
curl --request POST \ --url 'https://api.hasdata.com/scrapers/google-maps/jobs' \ --header 'Content-Type: application/json' \ --header 'x-api-key: <your-api-key>' \ --data '{ "keywords": ["coffee shops"], "locations": ["CUSTOM>New York, NY"], "extractEmails": true, "webhook": { "url": "https://yourdomain.com/webhook", "events": ["scraper.job.started", "scraper.job.finished", "scraper.data.scraped"], "headers": { "x-custom-header": "custom header value" } } }'
scraper.job.started
scraper.data.scraped
scraper.job.finished