Test vs live keys
Hiveku issues two flavors of keys, distinguished by prefix:
Test keys are ideal for CI/CD, local development, and PR preview environments — you get full API responses (including a
messageId) without risking a real send or burning quota.
Create a key
1
Open API Keys
Go to Settings > Email > API Keys and click Create.
2
Configure the key
Set the name, environment (test or live), scopes, rate limits, and any allowlists.
3
Copy the secret
Copy the full key value and store it in your secret manager.
Permission scopes
Keys are least-privilege by default — assign only the scopes each key actually needs.
Most application keys only need
email:send (and optionally email:batch). Admin-style keys used by internal tools or deployment scripts may need the management scopes.
Rate limiting
Each key has configurable rate limits:- Per second — Default 10 emails/second. Burst-friendly for transactional traffic.
- Per day — Optional daily cap to prevent runaway loops or abuse.
429 Too Many Requests with a Retry-After header. The SDK automatically retries with exponential backoff.
Domain allowlist
Restrict a key to send only from a specific set of verified domains. Useful for multi-tenant setups where each tenant gets its own key scoped to its own domain.IP allowlist
Optionally restrict a key to a set of source IPs or CIDR ranges (e.g., your production NAT gateway). Any request from outside the allowlist returns403 Forbidden.
Usage tracking
For every key, Hiveku tracks:- Last-used timestamp
- Total sends (lifetime and 30-day)
- Rate-limit hits
- Failed auth attempts
Revoking keys
Click Revoke on any key to invalidate it immediately. Revocation is instant — in-flight requests using the key will start failing with401 Unauthorized.