Overview
Submit security questionnaires and RFPs to Wolfia for AI-powered autofilling. You can upload a file (spreadsheet, PDF, Word document) or paste in raw text content.Upload a file
URL:POST https://api.wolfia.com/v1/questionnaire/upload/file
Authentication: API key required (see API overview for setup)
This endpoint accepts multipart form data.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
file | file | Yes | The questionnaire file |
company_name | string | Yes | Company that sent the questionnaire |
deal_value | decimal | No | Associated deal value |
deadline | date (YYYY-MM-DD) | No | Completion deadline |
instructions | string | No | Instructions to guide AI processing |
tag_ids | array of strings | No | Tag IDs to categorize the questionnaire |
assignee_ids | array of strings | No | User IDs to assign to |
assignee_types | array of strings | No | Type per assignee (USER or GROUP) |
Supported file types
| Extension | MIME type |
|---|---|
.xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
.xlsm | application/vnd.ms-excel.sheet.macroenabled.12 |
.xls | application/vnd.ms-excel |
.csv | text/csv |
.docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document |
.pdf | application/pdf |
Response (200 OK)
Upload text content
URL:POST https://api.wolfia.com/v1/questionnaire/upload/text
Authentication: API key required (see API overview for setup)
Use this when you have questions as text rather than a file — for example, pasted from an email or extracted from a web form.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
text_content | string | Yes | Questions as text (50 to 200,000 characters) |
company_name | string | No | Company that sent the questionnaire |
source_type | string | No | Defaults to TEXT |
deal_value | decimal | No | Associated deal value |
deadline | date (YYYY-MM-DD) | No | Completion deadline |
instructions | string | No | Instructions to guide AI processing |
tag_ids | array of strings | No | Tag IDs to categorize the questionnaire |
assignees | array of objects | No | Each with id (string) and type (USER or GROUP) |
Response (200 OK)
Integration example
Python: Ingest questionnaires from JIRA
Error responses
| Status Code | What it means | How to fix |
|---|---|---|
| 400 | Unsupported file type | Use a supported format: .xlsx, .xlsm, .xls, .csv, .docx, .pdf |
| 401 | Invalid or expired API key | Verify your API key |
| 403 | Insufficient permissions | Check the API key owner’s role |
| 422 | Missing required fields or invalid input | Check required fields. Text must be 50-200,000 characters. |
| 500 | Internal error | Retry with exponential backoff |
Best practices
File vs text upload
File vs text upload
Use file upload when you have the original document (XLSX, PDF, DOCX). Wolfia preserves the document structure.Use text upload for plain text questions from emails, web forms, or chat messages.
Use instructions to guide AI
Use instructions to guide AI
The
instructions field shapes how Wolfia fills in answers:Set metadata for better tracking
Set metadata for better tracking
Include
company_name, deal_value, and deadline when available. This metadata appears in the Wolfia dashboard for prioritization.Getting help
- Check file types:
.xlsx,.xlsm,.xls,.csv,.docx,.pdf - Check text length: 50 to 200,000 characters
- Contact support: Email [email protected]

