Create API Key
Create a new API key for programmatic access. **Important**: The full key is only shown once in the response. Store it securely.
Auth required: Yes
Idempotency-Key (header, string) — Unique key for idempotent POST requests (1-256 chars: alphanumeric, `_`, `-`, `:`, `.`).
Same key + same body within 24h replays the cached response.
name: string (required)description: stringscopes: arrayrate_limit_per_hour: integerkey_type: string — Key type. Secret keys (`vennio_sk_*`) are for server-side use. Publishable keys (`vennio_pk_*`) are for client-side use and can be restricted to specific domains via `allowed_domains`.
allowed_domains: array — Origin domains allowed to use this key (publishable keys only). Requests from unlisted origins are rejected. Supports exact match and subdomain matching (e.g. `example.com` allows `sub.example.com`).
expires_at: stringenvironment: string — Key environment. Test keys (vennio_sk_test_*) skip all side effects.201: API key created400: Validation error401: Authentication required or invalid409: A request with this Idempotency-Key is currently being processed422: Idempotency-Key was already used with a different request bodyRequires 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