Retrieve a form's metricsMenu

Retrieve a form's metrics

GET/v1/forms/{id}/metrics

Requires an API key with the forms:read scope. About keys and scopes

Works with integration, agent and partner keys.

Returns a form's submissions by outcome, views and the submit rate over the window (the last 30 days unless from and to say otherwise), split by where visitors came from (byTrafficSource) and how the form showed (byPlacement).

Path parameters

idstringrequired

The form's id.

uuid

Query parameters

fromstringoptional

Start of the window, inclusive: a date-time, or a date meaning the start of that day in the workspace timezone. Give with to; omit both for the last 30 days. A date-time falls on a quarter hour, since views are counted per quarter hour.

tostringoptional

End of the window, exclusive, in the same forms. To include a whole last day, pass the day after it: from=2026-10-01&to=2026-10-08 covers 1 to 7 October. No later than the end of today; a window touches at most 366 days. Give with from.

Header parameters

Kirora-Workspacestringoptional

Partner keys only: the child workspace to act in, by the external id the partner gave it. Without it, a partner key acts in its own workspace. Any other key that sends it is refused with 403, and an unknown workspace is 404.

pattern ^[A-Za-z0-9._:-]{1,128}$

Returns

Returns 200 OK with a FormMetrics in data. Otherwise returns an error; Errors lists every code and which to retry.

totalintegerrequired

All submissions.

min 0

createdintegerrequired

Submissions that created a contact.

min 0

updatedintegerrequired

Submissions that updated an existing contact.

min 0

honeypotintegerrequired

Submissions caught as bots by the honeypot field.

min 0

pendingintegerrequired

Double opt-in submissions still waiting for their confirmation link.

min 0

expiredintegerrequired

Double opt-in submissions whose link lapsed unconfirmed after 7 days.

min 0

viewsintegerrequired

Times the form was shown, each visitor counted once a day; crawlers and link previews are left out.

min 0

submitRatenumber | nullrequired

Submissions, less honeypot catches, per view; null before the first view.

min 0

byTrafficSourceobject[]required

Views and submissions by where visitors came from, most views first, at most 20.

3 child attributes
trafficSourcestringrequired

Where the visitor came from: the link's utm_source, else the referring site, else direct.

viewsintegerrequired

min 0

submissionsintegerrequired

Submissions, less honeypot catches.

min 0

byPlacementobject[]required

Views and submissions by how the form showed.

3 child attributes
placementstringrequired

Its own link, framed in a site, a popup, or unknown for submissions whose page did not say.

one of link, embed, popup, unknown

viewsintegerrequired

min 0

submissionsintegerrequired

Submissions, less honeypot catches.

min 0

windowReportWindowrequired

The window these figures cover.

3 child attributes
fromstringrequired

Start of the window, inclusive.

date-time

tostringrequired

End of the window, exclusive.

date-time

timezonestringrequired

The workspace timezone the date bounds are in.