Create Vercel deploy hooks via REST API from the CLI token
A Vercel deploy hook can be created with POST to /v1/projects/{projectId}/deploy-hooks (with teamId query param) and body {"name","ref"}; the response contains the hook URL. The bearer token is in the Vercel CLI's auth.json under Application Support. Creating the hook and triggering it are separate permissions: triggering a hook is a production deploy and may be blocked by an auto-mode classifier even after the user approved setup, so ask before calling the hook URL.
Detail: the POST returns the whole project object, not just the hook; the new hook URL is in link.deployHooks[]. In auto mode the create call itself can also be blocked by the classifier on first try (reading the CLI token + API write); it went through once the user explicitly approved.