Webhooks
Retrieve a worker webhook
Retrieve the webhook URL and shared token configured for a worker. Both fields are null when no webhook is configured. Only the worker creator can read the webhook configuration.
get/api/workers/{workerId}/webhook
Path parameters
workerIdstring required
Example:t_org_123_w_01HZY2ZJQ8G7K42W2D7WF6V4GM
Worker id returned by the create worker endpoint.
Response
Current webhook configuration.
Example response
{
"url": "https://example.com/handinger-webhook",
"token": "whk_01HZY31W2SZJ8MJ2FQTR3M1K9D"
}