Integra Vortixy Chat nei tuoi progetti con una chiave Bearer. Stesse quote del tuo piano. Crea chiave in Dashboard → La tua API
Invia la tua chiave nell'header Authorization. Non esporla mai nel codice client o nei query params.
curl https://www.vortixy.net/api/v1/chat \
-H "Authorization: Bearer vtx_live_abc123..." \
-H "Content-Type: application/json" \
-d '{"message":"Hello Vortixy"}'Scopes: chat, images, search, usage, models. Le chiavi condividono le quote del tuo piano.
Browser calls: responses only carry Access-Control-Allow-Origin when the request Origin is allowlisted on the key (Dashboard → Your API → Allowed origins). Keys without origins are same-origin/server-side only. Update a key's list with PATCH /api/v1/keys/:id {"allowed_origins": ["https://example.com"]} (https only, max 10, [] = Vortixy only).
# Keys are session-only (dashboard cookie) — Bearer keys can't manage keys
# List (max 5 active, key_prefix only, never raw)
curl https://www.vortixy.net/api/v1/keys -b "sb-auth-token=..."# Create (raw shown once — copy it now, stored hashed; 6th active → 429 apiKeyLimitReached)
curl -X POST https://www.vortixy.net/api/v1/keys \
-b "sb-auth-token=..." -H "Content-Type: application/json" \
-d '{"name":"My App","scopes":["chat","usage"]}'
# Quotas are shared web+API and reset daily at 00:00 UTC
# (GET /api/v1/usage → used.* + resetsAt; 429 → Retry-After + RateLimit-*)Mensile o annuale?
Risparmi il 17% con la fatturazione annuale.