Webhooks
Regenerate a worker webhook token
Issue a new shared token for the webhook, invalidating the previous one. The webhook URL is preserved. Only the worker creator can regenerate the token.
post/api/workers/{workerId}/webhook/regenerate-token
Path parameters
workerIdstring required
Example:t_org_123_w_01HZY2ZJQ8G7K42W2D7WF6V4GM
Worker id returned by the create worker endpoint.
Response
Webhook configuration with the new token.
Example response
{
"url": "https://example.com/handinger-webhook",
"token": "whk_01HZY31W2SZJ8MJ2FQTR3M1K9D"
}