Skip to main content

REST: Stats

Overview​

GET /V1/webforms/forms/{formId}/stats returns a form's submission counts in one call, for a dashboard tile or a monitoring check. The admin shows its own counters on the forms list, see Form statistics.

Member Meaning
form_id The live form
results_total All submissions of the form
results_unread Submissions not yet marked as read
results_unreplied Submissions nobody has replied to
last_submitted_at When the newest submission arrived, RFC 3339 in UTC. Left out when the form has no submissions

The counts cover every submission stored for the form, whatever its store view, status or approval.

Authentication​

OAuth 1.0a integration credentials, as described on REST API. Needs results_view.

Operations​

Method Path Operation ACL resource
GET /V1/webforms/forms/{formId}/stats SubmissionInterface_stats MageMe_WebForms::api_v1_results_view

Errors​

Code HTTP When
NOT_FOUND 404 No such form, a form outside the integration's form scope, or a draft id instead of a live form id

The refusals every route shares are listed on REST API.

Examples​

curl https://yourdomain.com/rest/all/V1/webforms/forms/995077/stats \
-H "Authorization: <signed-header>"
{"form_id": 995077, "results_total": 15, "results_unread": 4, "results_unreplied": 10, "last_submitted_at": "2026-09-24T21:06:00Z"}

A form without submissions:

{"form_id": 995589, "results_total": 0, "results_unread": 0, "results_unreplied": 0}

Applies to WebForms 4Last reviewed October 14, 2026