Get Email Stats by Provider
The campaign's sent, delivered, bounced, complained, opened, and clicked recipients split by mailbox provider (Gmail, Google Workspace, Outlook, Microsoft 365, iCloud, Yahoo/AOL, Proton, Zoho, other, unknown), read from each recipient domain's mail host, plus the same counts for the 20 recipient domains with the most sends. Opens and clicks that look automated (Apple Mail Privacy, Microsoft Safe Links, security scanners) are also counted in machineOpened and machineClicked, so clicked minus machineClicked is clicks by people.
Authorization
Authorization In: header
Path Parameters
ID of the project that owns the campaign.
ID of the campaign to report on.
Query Parameters
Only count events on or after this YYYY-MM-DD date. Omit for the campaign's whole lifetime.
Only count events on or before this YYYY-MM-DD date.
Only count sends of this message (an A/B version). Omit for every message.
Only count A/B sample sends (sample) or the winner rollout (rollout). Omit for both.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/projects/string/email-campaigns/string/provider-stats"{ "domains": [ { "bounced": 0, "clicked": 0, "complained": 0, "delivered": 0, "machineClicked": 0, "machineOpened": 0, "opened": 0, "sent": 0, "domain": "string", "provider": "gmail" } ], "providers": [ { "bounced": 0, "clicked": 0, "complained": 0, "delivered": 0, "machineClicked": 0, "machineOpened": 0, "opened": 0, "sent": 0, "machineReason": "apple_mail_privacy", "provider": "gmail" } ], "unresolvedDomains": 0}Delete Campaign Variation
Deletes one variation from a draft or paused campaign. The campaign must keep at least one variation. Deleting the last extra variation on an AB_TEST campaign sets the type back to STANDARD. Returns a permalink that opens the message step in the editor.
Update Campaign Message
Updates one campaign message's sender or content. Read Get Email Campaign for messages[].id, then pass campaignId, messageId, and changes. Supports STANDARD, AUTOMATION, and AB_TEST campaigns while DRAFT, SCHEDULED, or PAUSED; omitted fields are unchanged. On a SCHEDULED campaign, scheduledAt cannot change here: reschedule with Send Email Campaign or cancel with Cancel Scheduled Email Campaign. Use this endpoint to set fromEmailUsername, fromName, and fromDomain on workflow emails. Use Update Email Campaign for workflowId and workflowStepId links.