Create API Key
/v1/api-keysCreate a new API key. The full key value is returned only in this response — it cannot be retrieved again. Copy and store it securely (e.g. in an environment variable).
Request Body
namestring*Human-readable label (e.g. "Production", "FoxGuard Widget")
scope"full" | "verify" | "lists" | "read-only"optPermission scope. full = all endpoints, verify = email verification only, lists = list management only, read-only = GET requests only.
ipRestrictionsstring[]optAllowlist of IP addresses. Empty array means no IP restriction.
expiresInDaysnumber | nulloptDays until the key expires (1–365). null = never expires.
1curl -X POST "https://api.verifox.ai/v1/api-keys" \2 -H "X-API-Key: vfx_your_api_key" \3 -H "Content-Type: application/json" \4 -d '{"name": "Production Key", "scope": "full", "ipRestrictions": [], "expiresInDays": null}'1{2 "id": "key_abc123",3 "name": "Production Key",4 "prefix": "vfx_prod",5 "key": "vfx_prod_sk_live_abc123...",6 "scope": "full",7 "ipRestrictions": [],8 "expiresAt": null,9 "createdAt": "2026-03-31T10:30:00Z",10 "warning": "Store this key securely — it will not be shown again."11}