Email stats
Email stats per send
Every campaign and customer journey email step with results in the last 30 or 90 days, side by side: emails, delivered, hard bounces, people’s opens and clicks, unsubscribes, and each row’s rates against the average of all rows. The same table as Settings › Email › Stats › Por envío, biggest sends first. Transactional emails are not included (use email_stats_campaign on one).
Counted by when each email’s result arrived, not when it was sent, so a row can differ slightly from email_stats_campaign for the same campaign. Read notes first: rates are hidden below 1,000 emails and opens may not be measured (null, never 0%). Paginate with cursor; average always covers every row.
GET
/
api
/
v1
/
email-stats
/
sends
Email stats per send
curl --request GET \
--url https://www.useboom.ai/api/v1/email-stats/sends \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.useboom.ai/api/v1/email-stats/sends"
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/sends', 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/sends",
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/sends"
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/sends")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.useboom.ai/api/v1/email-stats/sends")
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
},
"average": {
"counts": {
"sent": 0,
"delivered": 0,
"bouncedHard": 0,
"opened": 0,
"clicked": 0,
"unsubscribed": 0
},
"rates": {
"delivered": 123,
"bounced": 123,
"opened": 123,
"clicked": 123,
"unsubscribed": 123
}
},
"rows": [
{
"initiativeId": "<string>",
"name": "<string>",
"kind": "campaign",
"journeyNodeId": "<string>",
"stepName": "<string>",
"counts": {
"sent": 0,
"delivered": 0,
"bouncedHard": 0,
"opened": 0,
"clicked": 0,
"unsubscribed": 0
},
"rates": {
"delivered": 123,
"bounced": 123,
"opened": 123,
"clicked": 123,
"unsubscribed": 123
},
"comparedToAverage": {}
}
],
"totalRows": 0,
"next_cursor": "<string>",
"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
Was this page helpful?
⌘I
Email stats per send
curl --request GET \
--url https://www.useboom.ai/api/v1/email-stats/sends \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.useboom.ai/api/v1/email-stats/sends"
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/sends', 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/sends",
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/sends"
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/sends")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.useboom.ai/api/v1/email-stats/sends")
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
},
"average": {
"counts": {
"sent": 0,
"delivered": 0,
"bouncedHard": 0,
"opened": 0,
"clicked": 0,
"unsubscribed": 0
},
"rates": {
"delivered": 123,
"bounced": 123,
"opened": 123,
"clicked": 123,
"unsubscribed": 123
}
},
"rows": [
{
"initiativeId": "<string>",
"name": "<string>",
"kind": "campaign",
"journeyNodeId": "<string>",
"stepName": "<string>",
"counts": {
"sent": 0,
"delivered": 0,
"bouncedHard": 0,
"opened": 0,
"clicked": 0,
"unsubscribed": 0
},
"rates": {
"delivered": 123,
"bounced": 123,
"opened": 123,
"clicked": 123,
"unsubscribed": 123
},
"comparedToAverage": {}
}
],
"totalRows": 0,
"next_cursor": "<string>",
"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>"
}
}