Send requests without waiting for a response. Collect results via a designated endpoint or a webhook.

Initiate an Asynchronous Request

RESPONSE_ID=`curl -i --silent --compressed \
    "https://api.brightdata.com/unblocker/req?customer=<Accound ID>&zone=<ZONE>" \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer <API token>" \
    -d "{\"flags\":\"country-de\",\"url\":\"<Target site>\"}" | \
    sed -En 's/^x-response-id: (.\*)/\1/p' | \
    tr -d '\r'`

Adjust your Web Unlocker async settings

  1. Sign in to Bright Data’s control panel

  2. Navigate to the ”My proxies page“.

  3. Click on your Web Unlocker zone

  4. On your zone”s configuration page, click on “Advanced options, and enable “Asynchronous requests”

    enable-asynchronous-requests.png

  5. Once you’ve enabled “Asynchronous requests”, you”ll be able to configure your WebHook URL (address to deliver the results to) and your HTTP method to deliver the response (GET or POST).

    save-settings.png

  6. Once you’ve configured your requirements, click “Save”.