Get Campaign Reports
curl --request GET \
--url https://api.lemlist.com/api/campaigns/reports \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.lemlist.com/api/campaigns/reports"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.lemlist.com/api/campaigns/reports', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));require 'uri'
require 'net/http'
url = URI("https://api.lemlist.com/api/campaigns/reports")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.lemlist.com/api/campaigns/reports",
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: Basic <encoded-value>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}[
{
"_id": "cam_bSn8EORHQxbWPjHvu",
"name": "Product Launch Campaign",
"creator": "usr_ahfFktBBHUIxbVG5P|user@example.com",
"createdAt": "2025-10-27T07:01:04.058Z",
"createdBy": "John Smith",
"labels": "",
"totalCount": 0,
"reviewedCount": 0,
"inSequenceLeadCount": 0,
"state": "running",
"status": "draft",
"senderNames": "sender@example.com",
"sendersUsers": "Jane Doe:sender@example.com",
"reviewed": 0,
"emailsSent": 0,
"emailsOpened": 0,
"emailsClicked": 0,
"emailsReplied": 0,
"emailsInterested": 0,
"linkedinSent": 0,
"linkedinReplied": 0,
"interested": 0,
"notInterested": 0
},
{
"_id": "cam_lBCWmqEWI399hJZOd",
"name": "Event Outreach Campaign",
"creator": "usr_QHeXD2DttUIlvWT9V|admin@example.co",
"createdAt": "2022-11-09T16:41:03.538Z",
"createdBy": "Sarah Johnson",
"labels": "",
"totalCount": 0,
"reviewedCount": 32,
"inSequenceLeadCount": 32,
"state": "paused",
"status": "ended",
"senderNames": "",
"sendersUsers": "",
"reviewed": 0,
"emailsSent": 20,
"emailsOpened": 18,
"emailsClicked": 4,
"emailsReplied": 1,
"emailsUnsubscribed": 1,
"emailsInterested": 1,
"linkedinSent": 32,
"linkedinOpened": 15,
"linkedinReplied": 15,
"interested": 0,
"notInterested": 0
}
]Bad teamCampaigns
Get Campaign Reports
Retrieves aggregated reports and statistics for one or multiple campaigns.
GET
/
campaigns
/
reports
Get Campaign Reports
curl --request GET \
--url https://api.lemlist.com/api/campaigns/reports \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.lemlist.com/api/campaigns/reports"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.lemlist.com/api/campaigns/reports', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));require 'uri'
require 'net/http'
url = URI("https://api.lemlist.com/api/campaigns/reports")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.lemlist.com/api/campaigns/reports",
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: Basic <encoded-value>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}[
{
"_id": "cam_bSn8EORHQxbWPjHvu",
"name": "Product Launch Campaign",
"creator": "usr_ahfFktBBHUIxbVG5P|user@example.com",
"createdAt": "2025-10-27T07:01:04.058Z",
"createdBy": "John Smith",
"labels": "",
"totalCount": 0,
"reviewedCount": 0,
"inSequenceLeadCount": 0,
"state": "running",
"status": "draft",
"senderNames": "sender@example.com",
"sendersUsers": "Jane Doe:sender@example.com",
"reviewed": 0,
"emailsSent": 0,
"emailsOpened": 0,
"emailsClicked": 0,
"emailsReplied": 0,
"emailsInterested": 0,
"linkedinSent": 0,
"linkedinReplied": 0,
"interested": 0,
"notInterested": 0
},
{
"_id": "cam_lBCWmqEWI399hJZOd",
"name": "Event Outreach Campaign",
"creator": "usr_QHeXD2DttUIlvWT9V|admin@example.co",
"createdAt": "2022-11-09T16:41:03.538Z",
"createdBy": "Sarah Johnson",
"labels": "",
"totalCount": 0,
"reviewedCount": 32,
"inSequenceLeadCount": 32,
"state": "paused",
"status": "ended",
"senderNames": "",
"sendersUsers": "",
"reviewed": 0,
"emailsSent": 20,
"emailsOpened": 18,
"emailsClicked": 4,
"emailsReplied": 1,
"emailsUnsubscribed": 1,
"emailsInterested": 1,
"linkedinSent": 32,
"linkedinOpened": 15,
"linkedinReplied": 15,
"interested": 0,
"notInterested": 0
}
]Bad team
It provides a convenient way to get export status and statistics across multiple campaigns in a single request.
Multiple campaigns
Pass multiple campaign IDs as a comma-separated list in thecampaignIds parameter:
https://api.lemlist.com/api/campaigns/reports?campaignIds=cam_123,cam_456,cam_789
Response structure
The response includes export status information similar to the Get Campaign Export Status endpoint, but can aggregate data across multiple campaigns.Use cases
This endpoint is particularly useful for:- Dashboard views: Get stats for multiple campaigns at once
- Portfolio reporting: Monitor performance across several outreach campaigns
- Batch processing: Check export status for multiple campaigns initiated earlier
This is more efficient than calling individual campaign endpoints when you need data from multiple campaigns.
Example
curl --request GET \
--url 'https://api.lemlist.com/api/campaigns/reports?campaignIds=cam_A1B2C3D4E5F6G7H8I9' \
--header 'Authorization: Basic <encoded-value>'
curl --request GET \
--url 'https://api.lemlist.com/api/campaigns/reports?campaignIds=cam_123,cam_456,cam_789' \
--header 'Authorization: Basic <encoded-value>'
Authorizations
Query Parameters
Response
Campaign reports retrieved successfully
Was this page helpful?