Authentication

All API requests require authentication via an API key.

API Keys

Include your API key in the X-API-Key header with every request:

curl -X POST https://api.envoice.dev/v1/generate \
  -H "X-API-Key: env_live_abc123..."

Environments

We provide two types of API keys:

Type Prefix Use Case
Sandbox env_sandbox_* Development & testing. Free, unlimited usage. Adds watermark to PDFs.
Live env_live_* Production use. Counts against your monthly quota. No watermark.

Managing API Keys

Create and manage your API keys in the Dashboard. You can:

  • Create multiple keys (e.g., one per project)
  • Name your keys for easy identification
  • Toggle keys on/off without deleting them
  • See last usage timestamp
Security Note: Keep your API keys secret. Never expose them in client-side code or public repositories.

Rate Limits

Plan Requests/min Monthly Quota
Sandbox 60 Unlimited (watermarked)
Starter 60 500 invoices
Pro 120 2,000 invoices