GET
/
v3
/
orgs
/
{orgId}
/
data-capture
/
forms
/
stats

This endpoint returns submission counts for this form within the time bound range that you specify in the filter. Calling this endpoint means you must send both the filter[created_at.since] and filter[created_at.until] parameters.

You can choose a granularity for the response data. Make sure that you pick one that is appropriate to the time bounds you request. It is likely that in the future, we will prevent too many buckets being returned based on the bounds.

For example, if you are retrieving stats from 1st June to the 30th June, daily is a good granularity.

Authorizations

Authorization
string
headerrequired

To understand how to authenticate, see the auth docs

Path Parameters

orgId
string
required

The ID of the organisation

Query Parameters

filter[created_at.since]
string
required

The start time for the filter (in RFC 3339 format)

filter[created_at.until]
string
required

The end time for the filter (in RFC 3339 format)

filter[created_at.granularity]
enum<string>

The granularity of the time buckets that we place the number of submissions into

Available options:
year,
month,
day,
hour,
minute
filter[author.id]
string

The author of the submissions to return

Response

200 - application/json
data
object[]
meta
object