Get Response
Forms
Get Form Response
Retrieve complete response data including form answers and attachments.
GET
Get Response
Retrieve complete form response data including answers and attachments.
See Get File for download details.
Form responses are called responses in the API. Each form (request) can have one or more responses as contacts fill them out.
Response Formats
The endpoint supports two response formats controlled by theAccept header:
| Format | Accept Header | Description |
|---|---|---|
| JSON | application/json | Structured data including all form fields and file references |
application/pdf | Generated PDF of the complete form response |
Response Fields
Response Attributes
| Field | Type | Description |
|---|---|---|
$created_at | string | ISO 8601 timestamp when response was created |
$updated_at | string | ISO 8601 timestamp of last update |
completed_at | string/null | ISO 8601 timestamp when completed (null if pending) |
declined_at | string/null | ISO 8601 timestamp when declined (null if not declined) |
user | object | Contact information who filled the form |
data | object | Form field values keyed by field name |
rating | string | Optional rating provided by the contact |
User Object
| Field | Type | Description |
|---|---|---|
email | string | Contact email address |
given_name | string | Contact first name |
family_name | string | Contact last name |
phone | string | Contact phone number |
locale | string | Language used to fill the form (e.g., en, fr) |
Completion Status
| Status | Description | Indicators |
|---|---|---|
| Pending | Form started but not submitted | completed_at: null, declined_at: null |
| Completed | Form successfully submitted | completed_at timestamp present, declined_at: null |
| Declined | Contact declined to fill the form | completed_at: null, declined_at timestamp present |
Finding Response IDs
Response IDs are included when you retrieve a form. Use the relationships to find responses:Accessing Form Data
Thedata attribute contains all form field values:
Working with Uploaded Files
Responses include references to uploaded files in theincluded array:
Response Codes
| Code | Description |
|---|---|
200 | Success - Response data retrieved |
401 | Unauthorized - Invalid access token |
403 | Forbidden - No access to this response |
404 | Not Found - Response doesn’t exist |
429 | Too Many Requests - Rate limit exceeded |
500 | Server Error - Internal error |
Responses are automatically created when a contact starts filling out a form. Initially, they contain partial data and no completion timestamp.
Authorizations
API token (starts with pnbx_). Create at https://app.penbox.io/workspace/settings/api. Include as: Authorization: Bearer {token}
Headers
Response format: application/json or application/pdf
Available options:
application/json, application/pdf Path Parameters
Response UUID
Response
Successful response
Detailed response with all nested data
Response UUID
Timestamp when the response was completed
Last update timestamp
Form field values
User information
Uploaded files
Signature data
Organized files by category