Email stats
Email stats per template
Email results per email template over the last 7, 30 or 90 days: sent, delivered, people’s opens and clicks, bounces, spam reports and unsubscribes, with rates, as the Email templates list shows them. Pass templateId for one template’s breakdown as its stats sheet shows it: which campaigns sent it, opens per day, and the links people clicked most.
Only templates that sent journey or campaign email in the period are listed. Counts each email once, by when it was sent. Read notes first: rates are hidden below 1,000 emails, opens may not be measured (null, never 0%), and nothing before 2026-11-18 is counted. Template ids match email_templates_list.
GET
/
api
/
v1
/
email-stats
/
templates
Email stats per template
curl --request GET \
--url https://www.useboom.ai/api/v1/email-stats/templates \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.useboom.ai/api/v1/email-stats/templates"
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/email-stats/templates', 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/email-stats/templates",
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/email-stats/templates"
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/email-stats/templates")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.useboom.ai/api/v1/email-stats/templates")
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{
"window": {
"from": "<string>",
"to": "<string>",
"countedFrom": "<string>",
"days": 0
},
"templates": [
{
"templateId": "<string>",
"name": "<string>",
"archived": true,
"averageKind": "marketing",
"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
},
"tracking": {
"opens": "tracked",
"clicks": "tracked"
},
"rates": {
"delivered": 123,
"bounced": 123,
"bouncedHard": 123,
"opened": 123,
"clicked": 123,
"clickToOpen": 123,
"complained": 123,
"unsubscribed": 123
},
"lastSentAt": "<string>",
"problem": {
"kind": "spam",
"rate": 123,
"average": 123
}
}
],
"averages": {
"marketing": {
"delivered": 123,
"bounced": 123,
"bouncedHard": 123,
"opened": 123,
"clicked": 123,
"clickToOpen": 123,
"complained": 123,
"unsubscribed": 123
},
"transactional": {
"delivered": 123,
"bounced": 123,
"bouncedHard": 123,
"opened": 123,
"clicked": 123,
"clickToOpen": 123,
"complained": 123,
"unsubscribed": 123
}
},
"detail": {
"templateId": "<string>",
"byInitiative": [
{
"initiativeId": "<string>",
"name": "<string>",
"kind": "campaign",
"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
},
"rates": {
"delivered": 123,
"bounced": 123,
"bouncedHard": 123,
"opened": 123,
"clicked": 123,
"clickToOpen": 123,
"complained": 123,
"unsubscribed": 123
}
}
],
"daily": [
{
"day": "<string>",
"openTrackedDelivered": 0,
"opened": 0
}
],
"topLinks": [
{
"url": "<string>",
"people": 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
Query Parameters
Response
Success
Was this page helpful?
⌘I
Email stats per template
curl --request GET \
--url https://www.useboom.ai/api/v1/email-stats/templates \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.useboom.ai/api/v1/email-stats/templates"
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/email-stats/templates', 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/email-stats/templates",
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/email-stats/templates"
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/email-stats/templates")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.useboom.ai/api/v1/email-stats/templates")
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{
"window": {
"from": "<string>",
"to": "<string>",
"countedFrom": "<string>",
"days": 0
},
"templates": [
{
"templateId": "<string>",
"name": "<string>",
"archived": true,
"averageKind": "marketing",
"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
},
"tracking": {
"opens": "tracked",
"clicks": "tracked"
},
"rates": {
"delivered": 123,
"bounced": 123,
"bouncedHard": 123,
"opened": 123,
"clicked": 123,
"clickToOpen": 123,
"complained": 123,
"unsubscribed": 123
},
"lastSentAt": "<string>",
"problem": {
"kind": "spam",
"rate": 123,
"average": 123
}
}
],
"averages": {
"marketing": {
"delivered": 123,
"bounced": 123,
"bouncedHard": 123,
"opened": 123,
"clicked": 123,
"clickToOpen": 123,
"complained": 123,
"unsubscribed": 123
},
"transactional": {
"delivered": 123,
"bounced": 123,
"bouncedHard": 123,
"opened": 123,
"clicked": 123,
"clickToOpen": 123,
"complained": 123,
"unsubscribed": 123
}
},
"detail": {
"templateId": "<string>",
"byInitiative": [
{
"initiativeId": "<string>",
"name": "<string>",
"kind": "campaign",
"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
},
"rates": {
"delivered": 123,
"bounced": 123,
"bouncedHard": 123,
"opened": 123,
"clicked": 123,
"clickToOpen": 123,
"complained": 123,
"unsubscribed": 123
}
}
],
"daily": [
{
"day": "<string>",
"openTrackedDelivered": 0,
"opened": 0
}
],
"topLinks": [
{
"url": "<string>",
"people": 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>"
}
}