Update the workspace's first webhook endpoint.
Saves the workspace’s FIRST outbound webhook endpoint and marks it connected. It overwrites that endpoint’s URL, events, channel scope and secret rather than registering an additional endpoint, so it can silently replace an endpoint someone configured in the dashboard. To run more than one endpoint, manage them under Configurations → Integrations → Webhooks instead. url (alias endpoint) must be a public https URL — private/internal/unreachable hosts are rejected with 422. events must be a non-empty array of topics from the catalogue (GET /webhooks/events); unknown topics are rejected with 422 and message-lifecycle events the selected channel cannot deliver are silently dropped (if every submitted event is dropped the request 422s). channel scopes message events to a single channel (default “all”). A signing secret is generated automatically on first connect and preserved on subsequent updates unless you pass a new secret. Use the secret to verify the signature on delivered payloads. Returns the saved subscription (without the secret value).

