Documentation Index
Fetch the complete documentation index at: https://docs.penbox.io/llms.txt
Use this file to discover all available pages before exploring further.
Quick Reference
This page provides a complete overview of all available API endpoints.
Responses
| Method | Endpoint | Description |
|---|
GET | /v1/responses/{id} | Get response details with attachments |
| Method | Endpoint | Description |
|---|
GET | /v1/form_templates | List available form templates |
GET | /v1/form_templates/{slug}/options | Get template configuration options |
GET | /v1/form_templates/{slug}/steps | Get template structure and fields |
Cases
| Method | Endpoint | Description |
|---|
GET | /v1/cases | List cases with filtering and pagination |
GET | /v1/cases/count | Count cases |
POST | /v1/cases | Create a new case |
GET | /v1/cases/{id} | Get case details with steps |
POST | /v1/cases/{id}/data | Update case data fields |
POST | /v1/cases/{id}/contacts | Update case contacts |
POST | /v1/cases/{id}/start/{stepKey} | Start a case step |
Case Templates
| Method | Endpoint | Description |
|---|
GET | /v1/case_templates | List case templates with filtering |
GET | /v1/case_templates/{id} | Get case template details with steps |
Attachments
Document Intelligence
| Method | Endpoint | Description |
|---|
POST | /v1/document_intelligence | Create document extraction job |
GET | /v1/document_intelligence/{id} | Get extraction results |
Signatures
| Method | Endpoint | Description |
|---|
GET | /v1/signatures/{id} | Get signature metadata or download file |
Workspaces
| Method | Endpoint | Description |
|---|
GET | /v1/workspaces | List accessible workspaces |
Most endpoints return JSON responses by default. Some endpoints support multiple response formats:
JSON Responses
- Default for most endpoints
- Set
Accept: application/json header
Binary Responses
- Attachments and signatures support
Accept: application/octet-stream
- Returns file content for download
PDF Responses
- Responses support
Accept: application/pdf
- Returns rendered PDF of form response
Authentication Requirements
All endpoints require authentication via Bearer token:
Authorization: Bearer YOUR_ACCESS_TOKEN
Common Query Parameters
Most list endpoints support these query parameters:
page[number] - Page number (starts at 1)
page[size] - Items per page (default: 10, max: 100)
filter - JSON string with filter criteria
sort - Sort field (prefix with - for descending)
group-by - Group counts by field (count endpoints only)
HTTP Methods
| Method | Usage |
|---|
GET | Retrieve data (list, read, count) |
POST | Create new resources or perform actions |
PATCH | Update existing resources |
Base URL
All endpoints are relative to:
https://connect.penbox.io/v1
API Overview
Detailed guide to API capabilities
Authentication
OAuth2 authentication guide
Advanced Filters
Filter with operators and JSON queries
Pagination & Sorting
Control result size and order