The Forms client does not require API credentials. Forms are identified by a UUID that you obtain from the Paubox dashboard.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.
Instantiation
Get a form
Retrieve a form’s metadata, field schema, and rendered HTML/CSS:stdClass includes:
| Property | Description |
|---|---|
title | Display name of the form |
form_json | Parsed field schema |
form_html | Rendered HTML for embedding |
form_css | Associated stylesheet |
active | Whether the form is accepting submissions |
submission_count | Number of submissions received |
getForm throws \Exception if the form is not found or the response is invalid.
Submit a form
submitForm returns true on a successful submission (HTTP 201) and throws \Exception on failure with a message containing the HTTP status code and response body.
Submitting with file attachments
The maximum total request size is 250 MB.FormAttachment fields:
| Field | Description |
|---|---|
name | File name including extension |
content | Base64-encoded file content |