For the complete documentation index, see llms.txt.

GET /v1/availability/slots

Get Available Time Slots

Get bookable time slots for a principal. Requires authentication. **Direct mode**: The caller needs access to the principal: the caller itself, a host the caller's account manages (see `/v1/hosts`), a principal connected to the caller, or a grantor of an active consent to the caller with `availability:read:freebusy` scope. Otherwise returns `403`, including for principals that don't exist. No event details are included. A publishable key reaches only the caller's own account and managed hosts; connections, consents and `consent_id` mode need a secret key. **Consent-scoped mode** (`consent_id`): Returns availability scoped by the referenced consent's permissions. The authenticated user must be the grantee on the consent, and the consent must carry `availability:read:freebusy` or `availability:read:details`; a consent holding only `booking:propose` returns `403`. Response includes a `consent` audit trail. With `availability:read:details` scope, slots include event titles and descriptions. **Consent `time_range`**: when the consent that authorises the read (either mode) has a `time_range`, `from` and `to` must both fall inside it; otherwise the request returns `403` naming the permitted window. Self, managed-host and connection access are not range-limited.

Auth required: Yes

Parameters

Responses

Authentication

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