Skip to main content
The Forms client does not require API credentials. Forms are identified by a UUID that you obtain from the Paubox dashboard.

Creating a client

Standalone (creates its own HTTP connection pool):
Shared connection pool (reuses the HTTP client from an existing PauboxClient):

Get a form

Retrieve a form’s metadata, field schema, and rendered HTML/CSS:
Form fields:

Submit a form

Build a FormSubmission and call submit_form:
submit_form returns Ok(()) on success (HTTP 201).

Submitting with file attachments

The maximum total request size is 250 MB. FormAttachment::from_bytes base64-encodes automatically:
If you already have base64-encoded content:

Error handling