chart-simpleGet 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>';

πŸ“¦ Sample JSON Response

Last updated