Form Statistics API
Endpoint: /v1/api/formstatistics
Use this Endpoint to return form submission numbers.
Params available:
Name | Default Value | Description | Example |
start | (now – 2years) | The date to start stats from | 2020-02-02 00:00:00 |
end | (now) | The date to end stats at | 2022-02-01 23:59:59 |
forms |
| Which forms to get statistics for | MyForm1,MyForm2 |
userId | (empty) | Filter to specific user ids | 1,2,3 |
groupByRange | (empty) | Group the data by a time range. Options: ‘day’,’month’,’week’,’year’ | month |
groupByUser | 0 | Split out the data per user | 1 |
groupByProject | 0 | Split out the data per Project and will exclude Forms that do not include a projectId field. | 1 |
displayUserName | 0 | Show usernames if groupByUser is set | 1 |