Back to all steps
Grab page URL and send
Step fields
webhook endpoint
(webhook)
Grab the current page URL and send it to a webhook.
The endpoint is picked from your webhooks (Profile → API tokens → Webhooks) - the address is no longer typed into the step. The server sends it: the request is signed, retried if the endpoint is down, and every delivery shows up in the webhook log. The step never fails the test.
The endpoint is picked from your webhooks (Profile → API tokens → Webhooks) - the address is no longer typed into the step. The server sends it: the request is signed, retried if the endpoint is down, and every delivery shows up in the webhook log. The step never fails the test.
Usage example
Get the current page URL and send a POST.
Example: https://myapi.com/visited-urls
POST request: the URL arrives in the html field.
Receiving example (PHP): $_POST["html"]