Idempotency key enables you to ensure that a webhook will not be added multiple times in case of
an actor restart or other situation that would cause the
addWebhook() function to be called again.
We suggest using the actor run ID as the idempotency key. You can get the run ID by calling
Payload template is a JSON-like string that describes the structure of the webhook POST request payload.
It uses JSON syntax, extended with a double curly braces syntax for injecting variables
Those variables are resolved at the time of the webhook’s dispatch, and a list of available variables with their descriptions
is available in the Apify webhook documentation.
payloadTemplate is omitted, the default payload template is used
URL which will be requested using HTTP POST request, when actor run will reach the set event type.