Report a conversion goal's results
GET/v1/conversion-goals/{id}/metrics
Requires an API key with the conversion-goals:read scope. About keys and scopes
Works with integration, agent and partner keys.
Conversions, the contacts who converted out of those sent to, and revenue when the goal has a valueProperty. Revenue sums values in the goal currency only: a value counts when it is a non-negative number or numeric string ("49.90", no thousands separators) up to 999,999,999,999.99. conversionsWithoutValue counts the conversions that carried none — the property missing or unusable, a negative (refunds are not revenue), or an event naming another currency — so it explains a gap between conversions and revenue. reachedContacts counts only sends a conversion could be credited to: from one attribution window before countedFrom. conversionRate is null until there is such a send. The totals are all time, every conversion the goal has counted since countedFrom (each under the attribution window in force when it was counted; see windowChangedAt); history covers the report window (from inclusive to to exclusive, the last 30 days by default) day by day in the workspace timezone.
Path parameters
idstringrequiredThe conversion goal's id.
uuid
Query parameters
fromstringoptionalStart 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.tostringoptionalEnd 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-08covers 1 to 7 October. No later than the end of today; a window touches at most 366 days. Give withfrom.
Header parameters
Kirora-WorkspacestringoptionalPartner 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 ConversionGoalMetrics in data. Otherwise returns an error; Errors lists every code and which to retry.
conversionGoalIdstringrequireduuid
conversionsintegerrequiredAll time: every event the goal counted, from
countedFrom; one contact can convert more than once.min 0
convertedContactsintegerrequiredAll time: the contacts behind
conversions.min 0
reachedContactsintegerrequiredAll time: contacts sent to that a conversion could be credited to, from one attribution window before
countedFrom.min 0
conversionRatenumber | nullrequiredAll time:
convertedContactsoverreachedContacts;nullbefore there is such a send.min 0
revenueobject | nullrequiredAll time: the value property's sum, in the goal currency;
nullwhen the goal has novalueProperty.2 child attributes
currencystring | nullrequiredThe currency, an ISO 4217 code; null when none was named.
valuenumberrequiredThe amount in that currency.
conversionsWithoutValueinteger | nullrequiredAll time: conversions counted without a value (the property missing, not a non-negative number, too large, or the event naming another currency);
nullwhen the goal has novalueProperty.min 0
historyobjectrequiredThe conversions in the report window.
4 child attributes
fromstringrequiredStart of the window, inclusive.
date-time
tostringrequiredEnd of the window, exclusive.
date-time
timezonestringrequiredThe workspace timezone the days are in.
seriesobject[]requiredOne entry per day in the window, by when each conversion happened.
3 child attributes
startsAtstringrequiredWhen this day starts in
timezone, given as an instant.date-time
conversionsintegerrequiredmin 0
revenueobject | nullrequiredThe day's revenue; null when the goal has no
valueProperty.2 child attributes
currencystring | nullrequiredThe currency, an ISO 4217 code; null when none was named.
valuenumberrequiredThe amount in that currency.