Skip to content

Get workflow statistics

Returns aggregated average engagement statistics across all email steps in the workflow, including open rates, click rates, bounces, and unsubscribes.

HTTP method: GET

https://api.sender.net/v2/workflows/{id}/average_report


ParameterTypeDescription
idstring requiredHashed workflow ID.

const url = new URL("https://api.sender.net/v2/workflows/{id}/average_report");
let headers = {
"Authorization": "Bearer [your-token]",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));

Example Response
{
"success": true,
"data": {
"sent": 5000,
"opened": 2000,
"clicked": 400,
"unsubscribed": 50,
"bounced": 30,
"open_rate": 40,
"click_rate": 8,
"unsubscribe_rate": 1,
"bounce_rate": 0.6
}
}