v27

latestOpenAPI 3.1.0LicenseRef-Proprietaryraw.githubusercontent.com2026-07-21173076.1 KB
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.

urlstring nullable required

HTTPS endpoint that receives webhook deliveries when a task completes. null when no webhook is configured.

tokenstring nullable required

Shared secret sent in the X-Handinger-Token header on each delivery. null when no webhook is configured.

Example response

{
  "url": "https://example.com/handinger-webhook",
  "token": "whk_01HZY31W2SZJ8MJ2FQTR3M1K9D"
}