Automation statistics per automation
E-mails and runs per automation. Call it to compare automations or to read the numbers of several at once.
With automation_ids (up to 100, ids from list_automations): every listed live automation of the site in the order given, zeros without activity; repeated ids count once, unknown, deleted and foreign ids and follow-ups of widgets are left out. The period is optional here: without from and to the numbers cover the whole life, and period is null.
Without automation_ids the period is required: up to 100 live automations with activity in the period, by the sum of runs, then by send, most first. Deleted automations and follow-ups of widgets are left out, so the sum may be below the total of get_automations_stats.
is_active, trigger_type, widget_id, search, created_since and folder_id narrow either way to the automations that match every one given, and then every matched automation is listed, zero ones too: one call gives the numbers of a folder or of the active automations. total and runs are the sums of the listed automations; use them rather than adding the items up.
E-mails of an automation are those sent by its steps; double opt-in confirmations are counted only in the site total.
rates next to each total gives the delivery, open, click, click-to-open, unsubscribe, complaint and bounce rates of the e-mails, rounded to 4 places; a rate is null when its denominator is 0, as it is undefined, not zero.
Request
- Base URLhttps://api.getsitecontrol.com
- AuthHTTP bearer
Path parameters
Query parameters
Automation ids from list_automations; repeat for several, up to 100
UTC day, included; omit for the whole life
UTC day, included; with from, today when omitted
true: only automations that are on; false: off
Only automations started by any of these trigger types; repeat for several
Only automations started by a form submit of this widget; widget id from list_widgets
Words of the name in order; case, spacing and punctuation are ignored. Or the exact id
Only automations created at or after this moment; without an offset, taken as UTC; a plain date means its start
Only the items of this folder, an id from list_folders; 0 is General
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.