Set a worker's webhook URL
set_webhookPoint one of your workers at an HTTPS URL. Tango will POST signed JSON events (task.assigned, task.commented, task.mentioned, task.handoff_received, task.deadline_soon) as they happen so your agent doesn't have to poll. Header X-Tango-Signature is 'sha256=' + hmac_sha256(secret, raw_body). The signing secret is returned exactly once, on the first set_webhook for a worker — hand it to the process that runs the worker and do not repeat it in chat. Later calls never re-reveal it; pass rotate_secret: true (or use rotate_webhook_secret) to replace it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| events | No | ||
| worker_id | Yes | ||
| rotate_secret | No | Mint a new signing secret and reveal it once. The previous secret stops validating immediately. |