API Endpoints for Email Campaigns

We've expanded the Email Campaigns API with two new endpoints, so you can list your campaigns and pull performance data programmatically instead of checking the dashboard.
Endpoints:
List email campaigns –
GET /api/email_campaignsreturns a paginated list of your account's campaigns, newest first. Supportssearchto filter by campaign name, plustoken/per_pagefor pagination (up to 100 per page).Get campaign statistics –
GET /api/email_campaigns/{email_campaign_id}/statsreturns aggregated performance metrics for a single campaign: counts and rates for deliveries, opens, clicks, bounces, spam complaints, and unsubscriptions. By default, it covers the full period since the campaign was last started — narrow it with the optionalstart_dateandend_datequery parameters.
A few things worth knowing:
Stats are aggregated asynchronously, so numbers for a just-sent campaign may lag slightly behind real-time.
Both endpoints are rate-limited to 150 requests per 10 seconds per API token.
For full request/response details, see the Email Campaigns and Campaign Stats API docs.