Skip to main content
Previous API version. Use GET /forms for new integrations. This route still works but is deprecated.
Retrieve a list of requests (now called forms) matching specific criteria.
GET https://connect.penbox.io/v1/requests

Query Parameters

ParameterTypeDescription
filterstringJSON-encoded filter object (workspace, flow, user, owner, status, external args)
page[number]numberPage number (starts at 1)
page[size]numberResults per page (default: 10, max: 100)
The filter object accepts the same keys as the current endpoint: company.slug, flow.slug, user, owner.email, active, archived, completed, processed, and external_args. See the Advanced Filters guide.

Response

Unlike the current GET /forms endpoint, this route returns a bare JSON array with no pagination meta envelope.
[
  {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "created_at": "2024-01-15T10:30:00Z",
    "status": "pending",
    "archived": false,
    "user": {
      "email": "client@example.com",
      "given_name": "John",
      "family_name": "Doe"
    },
    "external_args": { "crm_id": "12345" },
    "flow": { "slug": "client-onboarding" },
    "owner": null,
    "active_from": "2024-01-15T10:30:00Z",
    "active_until": null,
    "archived_at": null,
    "processed_at": null,
    "workspace": { "id": "...", "slug": "acme-corp" },
    "links": { "fill": "https://...", "app": "https://..." },
    "responses": []
  }
]

Example

cURL
curl 'https://connect.penbox.io/v1/requests' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Response Codes

CodeDescription
200Success — returns array of requests
400Bad Request — invalid filter parameters
401Unauthorized — invalid or expired access token
403Forbidden — token lacks required permissions
429Too Many Requests — rate limit exceeded
500Server Error