Form Insights
Get submission analytics for a specific form — totals, trends, and time-series data.
forms.view
GET
/v1/forms/:id/insightsQuery Parameters
| Parameter | Type | Description |
|---|---|---|
| range | string | Time range: 7d, 30d, 90d, 12m (default: 7d) |
Example Request
curl
curl "https://proforms.io/api/v1/forms/f_abc123/insights?range=30d" \
-H "Authorization: Bearer pf_your_api_key"Response
200 OK
{
"success": true,
"data": {
"form": {
"id": "f_abc123",
"name": "Contact Form"
},
"range": "30d",
"total": 87,
"trend": [
{
"date": "2026-01-18",
"count": 3
},
{
"date": "2026-01-19",
"count": 5
},
{
"date": "2026-01-20",
"count": 2
}
],
"lastSubmission": "2 hours ago"
}
}