View Form Analytics

GET/v1/forms/{form_id}/analytics

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

Authorization

x-api-key x-team-id
x-api-key<token>

In: header

x-team-id<token>

In: header

Path Parameters

form_id*string

Query Parameters

start_date*string
end_date*string

Response Body

application/json

application/json

application/json

fetch("https://example.com/v1/forms/{form_id}/analytics", {  method: "GET",  headers: {    "x-api-key": "...",    "x-team-id": "..."  }})
[  {    "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"    }  ],  "message": "string"}
{  "message": "string"}