Create Host Connect Link
Return a single-use hosted Google calendar-connect URL for a managed host. It expires after 7 days. Send it to the coach; they connect their own calendar to their own principal. The account must manage this host. Opening the link shows a page with a button. Only pressing the button uses the link, so a mail scanner that opens it first doesn't use it up. **One live link per host.** Creating a link revokes any earlier link for the same host that hasn't been used. To revoke without issuing a new one, call `DELETE /v1/hosts/{id}/connect-link`. The link is a bearer credential: whoever uses it first connects their Google calendar to this host. Send it only to the coach, and revoke it if it goes to the wrong person.
Auth required: Yes
id (path, string) (required) — The host principal_id.redirect_url: string — Where to send the coach after connecting. Must be a platform
domain or whitelisted for this account.
Without it, the coach sees a page saying their calendar is
connected and that they can close the page.
201: Connect link generated403: Host is not managed by your account409: Several links were being created for this host at the same moment and this request lost each time. Retry it.Requires authentication. Pass a Bearer token (Supabase JWT) or an API key (`Authorization: Bearer vennio_sk_live_*`) in the request headers.
Base URL: https://api.vennio.app