Obtain your credentials
The Email API client requires one credential:- API key: a secret token that authenticates your requests
Global configuration (recommended)
Set your API key once at application startup. AllPaubox::Client instances will use it automatically:
Per-client configuration
Override the API key for a specific client instance:Authorization header automatically on every request:
Forms client
Paubox::FormsClient requires no credentials:
Security notes
- Never hard-code credentials in source files; always read from environment variables.
- The SDK does not log API keys or request bodies.