Email stats for a campaign
How one campaign, customer journey or transactional email did by email: sent, delivered, people’s opens and clicks, bounces, spam reports and unsubscribes, with rates beside the organization’s own average. The same numbers as the campaign’s Analytics › Email tab, its email card and a journey step’s email results.
Two views in one answer. emails counts each email once (the campaign card and step panel). funnel counts people, as the Email tab’s funnel does (sent → delivered → opened → clicked → replied → succeeded); it is null for transactional emails, one step, or range: all.
Read notes before quoting a number: rates are hidden below 1,000 emails, opens or clicks may not be measured (null, never 0%), opens are people only and estimated, and nothing before 2026-11-18 is counted. Use message_logs_list for one message’s delivery status instead.
curl --request GET \
--url https://www.useboom.ai/api/v1/initiatives/{id}/email-stats \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.useboom.ai/api/v1/initiatives/{id}/email-stats"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.useboom.ai/api/v1/initiatives/{id}/email-stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://www.useboom.ai/api/v1/initiatives/{id}/email-stats",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://www.useboom.ai/api/v1/initiatives/{id}/email-stats"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.useboom.ai/api/v1/initiatives/{id}/email-stats")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.useboom.ai/api/v1/initiatives/{id}/email-stats")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"initiative": {
"id": "<string>",
"name": "<string>",
"kind": "campaign"
},
"window": {
"from": "<string>",
"to": "<string>",
"countedFrom": "<string>"
},
"emails": {
"counts": {
"sent": 0,
"delivered": 0,
"bouncedHard": 0,
"bouncedSoft": 0,
"blocked": 0,
"failed": 0,
"complained": 0,
"unsubscribed": 0,
"opened": 0,
"clicked": 0,
"openTrackedDelivered": 0,
"clickTrackedDelivered": 0,
"heldBack": 0,
"earlierSendsNotCounted": 0
},
"tracking": {
"opens": "tracked",
"clicks": "tracked",
"openTrackedSends": 0,
"clickTrackedSends": 0
},
"rates": {
"delivered": 123,
"bounced": 123,
"bouncedHard": 123,
"opened": 123,
"clicked": 123,
"clickToOpen": 123,
"complained": 123,
"unsubscribed": 123
},
"average": {
"rates": {
"delivered": 123,
"bounced": 123,
"bouncedHard": 123,
"opened": 123,
"clicked": 123,
"clickToOpen": 123,
"complained": 123,
"unsubscribed": 123
}
},
"comparedToAverage": {},
"verdict": {
"kind": "needs_look",
"worse": [
"<string>"
]
},
"arrival": {
"medianMs": 123,
"p95Ms": 123,
"buckets": [
0
]
}
},
"funnel": {
"unit": "people",
"stages": [
{
"stage": "<string>",
"count": 0,
"pctOfSent": 123,
"greyedOut": true
}
],
"heldBack": 0
},
"notes": [
"<string>"
]
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Authorizations
Path Parameters
Query Parameters
Emails SENT in this period. Defaults to what the app opens on: all (since recording began, the campaign card) for a campaign, 7d (the Analytics › Email tab) for a journey or transactional email. custom needs from and to; today starts at midnight in timeZone.
today, 7d, 30d, custom, all Was this page helpful?
curl --request GET \
--url https://www.useboom.ai/api/v1/initiatives/{id}/email-stats \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.useboom.ai/api/v1/initiatives/{id}/email-stats"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.useboom.ai/api/v1/initiatives/{id}/email-stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://www.useboom.ai/api/v1/initiatives/{id}/email-stats",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://www.useboom.ai/api/v1/initiatives/{id}/email-stats"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.useboom.ai/api/v1/initiatives/{id}/email-stats")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.useboom.ai/api/v1/initiatives/{id}/email-stats")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"initiative": {
"id": "<string>",
"name": "<string>",
"kind": "campaign"
},
"window": {
"from": "<string>",
"to": "<string>",
"countedFrom": "<string>"
},
"emails": {
"counts": {
"sent": 0,
"delivered": 0,
"bouncedHard": 0,
"bouncedSoft": 0,
"blocked": 0,
"failed": 0,
"complained": 0,
"unsubscribed": 0,
"opened": 0,
"clicked": 0,
"openTrackedDelivered": 0,
"clickTrackedDelivered": 0,
"heldBack": 0,
"earlierSendsNotCounted": 0
},
"tracking": {
"opens": "tracked",
"clicks": "tracked",
"openTrackedSends": 0,
"clickTrackedSends": 0
},
"rates": {
"delivered": 123,
"bounced": 123,
"bouncedHard": 123,
"opened": 123,
"clicked": 123,
"clickToOpen": 123,
"complained": 123,
"unsubscribed": 123
},
"average": {
"rates": {
"delivered": 123,
"bounced": 123,
"bouncedHard": 123,
"opened": 123,
"clicked": 123,
"clickToOpen": 123,
"complained": 123,
"unsubscribed": 123
}
},
"comparedToAverage": {},
"verdict": {
"kind": "needs_look",
"worse": [
"<string>"
]
},
"arrival": {
"medianMs": 123,
"p95Ms": 123,
"buckets": [
0
]
}
},
"funnel": {
"unit": "people",
"stages": [
{
"stage": "<string>",
"count": 0,
"pctOfSent": 123,
"greyedOut": true
}
],
"heldBack": 0
},
"notes": [
"<string>"
]
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}