Skip to main content

paubox send

Send a single HIPAA compliant email.

Flags

Example

Output

Add --json to get machine-readable output instead of the human-readable success line. Useful for capturing the tracking ID in scripts and CI pipelines.
The underlying API call is documented in the Email API · Messages reference.

paubox status

Check the delivery status of a sent message.

Example

Output

Add --json to get machine-readable output. Useful for parsing status in scripts and CI pipelines.
The underlying API call is documented in the Email API · Message receipt reference.

paubox config

Manage CLI configuration stored in ~/.config/paubox/config.json.

Subcommands

Supported keys

Additional keys may be added in future releases.

Examples

paubox config stores general settings only. API credentials are managed separately with paubox auth and stored in the OS keychain, not in config.json.

paubox forms

Fetch and submit Paubox Forms from the terminal. These commands hit the public Forms endpoints and do not require paubox auth login.

Subcommands

paubox forms get

Fetch a form’s metadata, including its title, description, and submission count.

Flags

Example

Output

Add --json to get the raw API response object. Useful when you need the full Form payload, including form_json, form_html, and form_css, for rendering or validation.
The underlying API call is documented in the Forms · Get form metadata reference.

paubox forms submit

Submit a response to a form, optionally with attachments.

Flags

Examples

Submit with --data fields only:
Submit from a JSON file:
Override individual fields from a JSON file:
Submit with --data fields and an attachment:

Output

With --json:
Use --json when triggering submissions from CI pipelines or other automation that needs to confirm success programmatically.
The underlying API call is documented in the Forms · Submit form response reference.

Global options

These flags work with any command.

Examples

Exit codes

The CLI exits with 0 on success and a non-zero code on failure. Use this in scripts and CI pipelines to detect errors: