Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

OverviewGetting startedAgent setupWhat is Saasco?

SDK

Quick startTrackingIdentifyConfigurationWidgetsProperties

MCP

Quick startHow it worksAuthorizationTool reference
Skills for agents

REST API

Quick start
getList Email CampaignsgetGet Email CampaignpostCreate Email CampaignputUpdate Email CampaignpostDuplicate Email CampaigndelDelete Email CampaignpostSend Email CampaignpostResume Sending Email CampaignpostStop Sending Email CampaignpostSend Test EmailgetCount Campaign EmailsgetGet Email StatspostCancel Scheduled Email CampaignpostChoose A/B Test WinnerpostCreate Campaign VariationdelDelete Campaign VariationgetGet Email Stats by ProvidergetGet Local Send CoveragepostResume or Skip Held Mailbox ProviderputUpdate Campaign Message
Transactional Emails
Email MarketingCampaigns

Get Local Send Coverage

View as MarkdownAgent setup

How a campaign's audience splits if it is sent in each contact's timezone (Send Email Campaign with localSendTimeZone). localTime counts the contacts whose timezone is known, from their $timezone attribute or else their country; each gets the email at the scheduled time on their own clock. fallback counts the contacts with no known timezone; they get it at the scheduled time in the zone it was picked in. Both count subscribed contacts only, with the project's sunset rules applied, so they add up to the number the send will email.

GET
/projects/{projectId}/email-campaigns/{campaignId}/local-send-coverage

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project that owns the campaign.

campaignIdrequiredstring

ID of the campaign to count.

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/local-send-coverage"
{  "fallback": -9007199254740991,  "localTime": -9007199254740991}

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 opened minus machineOpened and clicked minus machineClicked are opens and clicks by people. privacyOpened counts openers whose only opens came from Apple Mail Privacy. The dashboard's open rate counts those, like most email platforms: (opened − machineOpened + privacyOpened) / delivered. An open rate by people alone is (opened − machineOpened) / (delivered − privacyOpened).

Resume or Skip Held Mailbox Provider

Answers the provider brake for one mailbox provider a campaign is holding. The brake holds a provider when more than 5% of its first sends bounce, or when its open rate by people falls under half of the sender's recent rate at the same point after sending; the reason is in providerSendState.lanes.<provider>.held. resume sends its contacts and stops the brake holding it again in this campaign. skip never sends its remaining contacts. When the campaign is paused for held providers and none is left waiting, it resumes (or is SENT if every held provider was skipped).