Documentation Index
Fetch the complete documentation index at: https://docs.paubox.com/llms.txt
Use this file to discover all available pages before exploring further.
Obtain your credentials
The Email API client requires two credentials:- API key: a secret token that authenticates your requests
- Username: your Paubox API endpoint username (not your login email)
Option 1: Environment variables (recommended)
from_env() returns Err(PauboxError::EnvVar(...)) immediately if either variable is missing or empty.
Option 2: Direct constructor
Option 3: Builder (with custom timeout or base URL)
.base_url(url) in tests to point at a mock server.
The SDK sets the Authorization header automatically on every request:
Forms client
FormsClient requires no credentials:
PauboxClient, reuse its HTTP connection pool:
Security notes
- Never hard-code credentials in source files.
- The SDK does not log API keys or request bodies.