curl --request GET \
--url https://api.instantly.ai/api/v2/email-marketing/metrics \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.instantly.ai/api/v2/email-marketing/metrics"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.instantly.ai/api/v2/email-marketing/metrics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.instantly.ai/api/v2/email-marketing/metrics")
.header("Authorization", "Bearer <token>")
.asString();<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.instantly.ai/api/v2/email-marketing/metrics",
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://api.instantly.ai/api/v2/email-marketing/metrics"
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))
}{
"totals": {
"sent": 10000,
"delivered": 9800,
"bounced": 150,
"complained": 10,
"opened": 4500,
"clicked": 1200,
"rejected": 40,
"skipped": 25,
"unique_clicked": 480,
"opened_proxy": 1400,
"goal_reached": 120,
"delivery_rate": 0.98,
"open_rate": 0.459,
"click_rate": 0.122,
"bounce_rate": 0.015,
"complaint_rate": 0.001
},
"series": [
{
"label": "2026-02-04",
"timestamp": 1770336000000,
"sent": 1500,
"delivered": 1470,
"bounced": 22,
"complained": 2,
"opened": 680,
"clicked": 180,
"rejected": 6,
"skipped": 3,
"unique_clicked": 480,
"opened_proxy": 210
}
],
"meta": {
"time_range": "7d",
"granularity": "daily",
"start_date": "2026-01-29",
"end_date": "2026-02-04",
"tz_offset": 0,
"filter": {
"type": "broadcast",
"id": "01234567-89ab-cdef-0123-456789abcdef"
}
}
}{
"statusCode": 400,
"error": "Bad Request",
"message": "limit: must be at most 50",
"code": "VALIDATION_ERROR"
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "Missing Authorization header"
}{
"statusCode": 402,
"error": "Payment Required",
"message": "Workspace does not have an active paid plan"
}{
"statusCode": 403,
"error": "Forbidden",
"message": "Workspace suspended due to a high bounce or spam complaint rate. Please contact support.",
"code": "WORKSPACE_SUSPENDED"
}{
"statusCode": 404,
"error": "Not Found",
"message": "Not found",
"code": "NOT_FOUND"
}{
"statusCode": 408,
"error": "Request Timeout",
"message": "An internal error occurred"
}{
"statusCode": 409,
"error": "Conflict",
"message": "The resource has changed. Reload it and try again.",
"code": "CONFLICT"
}{
"statusCode": 429,
"error": "Too Many Requests",
"message": "Rate limit exceeded"
}{
"statusCode": 500,
"error": "Internal Server Error",
"message": "An internal error occurred"
}Get email marketing metrics
Returns email marketing totals and time series for a time range, for the whole workspace or filtered by one sending domain or one broadcast. domain_id and broadcast_id together give 400, and a custom range is at most 365 days. An unknown or mistyped broadcast ID returns zeros, not 404.
Requires one of the following scopes: email_marketing_metrics:read, email_marketing_metrics:all, all:read, all:all
curl --request GET \
--url https://api.instantly.ai/api/v2/email-marketing/metrics \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.instantly.ai/api/v2/email-marketing/metrics"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.instantly.ai/api/v2/email-marketing/metrics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.instantly.ai/api/v2/email-marketing/metrics")
.header("Authorization", "Bearer <token>")
.asString();<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.instantly.ai/api/v2/email-marketing/metrics",
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://api.instantly.ai/api/v2/email-marketing/metrics"
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))
}{
"totals": {
"sent": 10000,
"delivered": 9800,
"bounced": 150,
"complained": 10,
"opened": 4500,
"clicked": 1200,
"rejected": 40,
"skipped": 25,
"unique_clicked": 480,
"opened_proxy": 1400,
"goal_reached": 120,
"delivery_rate": 0.98,
"open_rate": 0.459,
"click_rate": 0.122,
"bounce_rate": 0.015,
"complaint_rate": 0.001
},
"series": [
{
"label": "2026-02-04",
"timestamp": 1770336000000,
"sent": 1500,
"delivered": 1470,
"bounced": 22,
"complained": 2,
"opened": 680,
"clicked": 180,
"rejected": 6,
"skipped": 3,
"unique_clicked": 480,
"opened_proxy": 210
}
],
"meta": {
"time_range": "7d",
"granularity": "daily",
"start_date": "2026-01-29",
"end_date": "2026-02-04",
"tz_offset": 0,
"filter": {
"type": "broadcast",
"id": "01234567-89ab-cdef-0123-456789abcdef"
}
}
}{
"statusCode": 400,
"error": "Bad Request",
"message": "limit: must be at most 50",
"code": "VALIDATION_ERROR"
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "Missing Authorization header"
}{
"statusCode": 402,
"error": "Payment Required",
"message": "Workspace does not have an active paid plan"
}{
"statusCode": 403,
"error": "Forbidden",
"message": "Workspace suspended due to a high bounce or spam complaint rate. Please contact support.",
"code": "WORKSPACE_SUSPENDED"
}{
"statusCode": 404,
"error": "Not Found",
"message": "Not found",
"code": "NOT_FOUND"
}{
"statusCode": 408,
"error": "Request Timeout",
"message": "An internal error occurred"
}{
"statusCode": 409,
"error": "Conflict",
"message": "The resource has changed. Reload it and try again.",
"code": "CONFLICT"
}{
"statusCode": 429,
"error": "Too Many Requests",
"message": "Rate limit exceeded"
}{
"statusCode": 500,
"error": "Internal Server Error",
"message": "An internal error occurred"
}Authorizations
Query Parameters
Time zone offset in minutes from UTC, -720 to 840. Default 0 (UTC). An offset that is not a whole hour, such as 330 for UTC+5:30, is rounded to the hour, so counts shift by up to 30 minutes. goal_reached is summed over whole UTC days: with any offset other than 0 it can include most of a day outside the range.
-720 <= x <= 840-300
Response
The requested Email Metrics
Aggregated email marketing metrics including totals, time-series data, and metadata.