View Form Analytics

GET/v1/forms/{form_id}/analytics

Returns an array of analytics data for the form based on the provided date range.

x-api-key<token>

In: header

x-team-id<token>

In: header

Path Parameters

form_idstring

Query Parameters

start_datestring
Formatdate
end_datestring
Formatdate

Response Body

curl -X GET "https://forms.vexrun.com/v1/forms/string/analytics?start_date=2019-08-24&end_date=2019-08-24"
[
  {
    "date": "string",
    "hours": {
      "property1": 0,
      "property2": 0
    },
    "countries": {
      "property1": 0,
      "property2": 0
    },
    "user_agents": {
      "property1": 0,
      "property2": 0
    },
    "referers": {
      "property1": 0,
      "property2": 0
    }
  }
]
{
  "errors": [
    {
      "path": "string",
      "expected": "string",
      "value": null
    }
  ],
  "message": "string"
}
{
  "message": "string"
}