action formapi_list_submissions { label: "List all submissions" provider: formapi method: GET path: "/submissions" encoding: json input: { type: "object" properties: { created_after: { type: "string" } created_before: { type: "string" } cursor: { type: "string" } include_data: { type: "boolean" } limit: { type: "number" } type: { type: "string" } } additionalProperties: false } output: { type: "object" required: ["limit", "next_cursor", "submissions"] properties: { limit: { type: "number" } next_cursor: { type: "string" } submissions: { type: "array" items: { type: "object" required: ["id", "state", "test", "expired"] properties: { actions: { type: "array" items: { type: "object" required: ["id", "integration_id", "state", "action_category", "action_type", "result_data"] properties: { action_category: { type: "string" enum: ["notification", "file_upload"] } action_type: { type: "string" enum: ["webhook", "slack_webhook", "email", "aws_s3_upload"] } id: { type: "string" } integration_id: { type: "string" } result_data: { type: "object" } state: { type: "string" enum: ["pending", "processed", "failed", "error"] } } } } batch_id: { type: "string" } data: { type: "object" } data_requests: { type: "array" items: { type: "object" required: ["id", "name", "email", "order", "sort_order", "fields", "metadata", "state"] properties: { auth_phone_number_hash: { type: "string" } auth_provider: { type: "string" } auth_second_factor_type: { type: "string" enum: ["none", "phone_number", "totp", "mobile_push", "security_key", "fingerprint"] } auth_session_id_hash: { type: "string" } auth_session_started_at: { type: "string" } auth_type: { type: "string" enum: ["none", "password", "oauth", "email_link", "phone_number", "ldap", "saml"] } auth_user_id_hash: { type: "string" } auth_username_hash: { type: "string" } completed_at: { type: "string" } email: { type: "string" } fields: { type: "array" items: { type: "string" } } id: { type: "string" } ip_address: { type: "string" } metadata: { type: "object" } name: { type: "string" } order: { type: "integer" } sort_order: { type: "integer" } state: { type: "string" enum: ["pending", "completed"] } submission_id: { type: "string" } user_agent: { type: "string" } viewed_at: { type: "string" } } } } download_url: { type: "string" } editable: { type: "boolean" } expired: { type: "boolean" } expires_at: { type: "string" } id: { type: "string" } metadata: { type: "object" } pdf_hash: { type: "string" } permanent_download_url: { type: "string" } processed_at: { type: "string" } referrer: { type: "string" } source: { type: "string" } state: { type: "string" enum: ["pending", "processed", "invalid_data", "error", "image_download_failed", "image_processing_failed", "waiting_for_data_requests", "syntax_error", "account_suspended", "license_revoked", "accidental"] } template_id: { type: "string" } test: { type: "boolean" } truncated_text: { type: "object" } } } } } } }