Get Stats of a Campaign
Retrieve in-depth performance metrics and delivery statistics for a specific campaign using its unique identifier.
๐ Get Stats of a Campaign
Use this endpoint to fetch delivery, open, click, bounce, and unsubscribe data for any campaign.
๐น HTTP Request
GET API-URL/campaigns/CAMPAIGN-UNIQUE-ID/stats๐ธ URL Segments
Segment
Required
Description
CAMPAIGN-UNIQUE-ID
Yes
Campaign unique ID to retrieve stats for.
๐ Authorization Header
X-API-KEY: your-api-key-here๐ป PHP Example
// GET STATS
$response = $endpoint->getStats('CAMPAIGN-UNIQUE-ID');
// DISPLAY RESPONSE
echo '<pre>';
print_r($response->body);
echo '</pre>';