1
POST your data
Send a JSON array with a title and output format
2
Pipeline runs
AutoReport processes and formats your data (~8 seconds)
3
Download your report
Get a PDF or Excel file — board-ready, zero effort
Completed
—
Rows Processed
—
Total Cost
—
Endpoint
POST
/v1/reports/generateGET
/v1/reportsGenerate Report
POST /v1/reports/generateRequest
curl -X POST https://api.prostackng.com.ng/v1/reports/generate \
-H "X-API-Key: psk_test_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Monthly Sales Report",
"output_format": "pdf",
"data": [
{ "product": "Widget A", "sales": 120, "revenue": 60000 },
{ "product": "Widget B", "sales": 80, "revenue": 40000 }
]
}'Response
{
"success": true,
"report_id": "rpt_abc123",
"title": "Monthly Sales Report",
"status": "completed",
"output_format": "pdf",
"download_url": "https://cdn.prostackng.com.ng/reports/rpt_abc123.pdf",
"row_count": 2,
"cost": 20.00
}Report History
0 reportsLoading...