Responses

Count responses and selected form options

Exact counts of all stored form responses of one widget, including deleted widgets, optionally filtered by send time. Use this to count responses with a selected checkbox or other form option, rather than counting a page of list_widget_responses yourself. No sampling or page limit. total counts responses, fields[].count counts those with that field, and options[].count counts those selecting that option. Checkbox option counts can overlap. Missing flags are not counted as false. Fields and options follow the widget's current form; removed fields and options are omitted. Free-text answers are not returned. These are stored responses, not submission event counters; delayed confirmation and deleted responses can change them.

get/v1/sites/{site_id}/widgets/{widget_id}/responses/summary

Request

  • Base URL
    https://api.getsitecontrol.com
  • Auth
    HTTP bearer

Path parameters

site_idinteger required
widget_idinteger required

Widget id from list_widgets

Query parameters

created_sincestring date-time

Sent at or after this moment; without an offset, taken as UTC; a plain date means its start

created_beforestring date-time

Sent before this moment; without an offset, taken as UTC; a plain date means its start

Response

Successful Response

totalinteger required

All stored responses in the requested period

warningsstring[] required

Changes

No recorded changes to this operation across all 1 revision of this API.