Update Form
Update a form’s status or properties.
Updatable Fields
| Field | Type | Description |
|---|---|---|
archived | boolean | Archive or unarchive the form |
draft | boolean | Set draft status (true = draft, false = activate) |
processed | boolean | Mark as processed or unprocessed |
active_until | string | Update expiration date (ISO 8601) |
Common Use Cases
Archive a Form
Archive completed or cancelled forms to keep your list organized:Mark as Processed
Track which forms you’ve reviewed in your system:Activate a Draft
Activate a draft form to send it to the contact:Response Codes
| Code | Description |
|---|---|
200 | Success - Form updated successfully |
400 | Bad Request - Invalid parameters |
401 | Unauthorized - Invalid access token |
403 | Forbidden - No access to this resource |
404 | Not Found - Form doesn’t exist |
422 | Unprocessable - Validation failed |
429 | Too Many Requests - Rate limit exceeded |
500 | Server Error - Internal error |
Authorizations
API token (starts with pnbx_). Create at https://app.penbox.io/workspace/settings/api. Include as: Authorization: Bearer {token}
Path Parameters
Form UUID
Body
Response
Form updated successfully
Form UUID
Creation timestamp
Current form status
draft, pending, completed, declined, processed Whether the form is archived
Timestamp when archived
Timestamp when marked as processed
When the form becomes active
When the form expires
URLs for accessing the form
Contact information
Form owner information
Form template information
Pre-filled form data
Custom metadata
Form-specific options
Array of form responses
Array of notifications sent for this form
Webhook URLs with event subscriptions