Skip to main content

Obtain your credentials

The Email API client requires one credential:
  • API key: a secret token that authenticates your requests
It is available in the Paubox dashboard under API Credentials. Set your API key once at application startup. All Paubox::Client instances will use it automatically:

Per-client configuration

Override the API key for a specific client instance:
The SDK sets the 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.