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.

Create a client

PauboxRails::Forms.client returns a new PauboxRails::Forms::Client instance.

Get a form

Retrieve a form’s metadata, field schema, and rendered HTML/CSS:
The return value is a Hash with the following keys: get_form raises PauboxRails::Forms::NotFoundError if the form UUID is invalid.

Submit a form

submit_form returns true on a successful submission (HTTP 201).

Submitting with file attachments

The maximum total request size is 250 MB.
Each attachment is a Hash with two keys:

Error handling