Skip to main content
CampaignsVersion: v3New

List Sending Domains

GET/emails/locations/{locationId}/campaigns/sending-domains

List the domains this location can send email campaigns from, the same choices the schedule screen offers. Pick the sender address (fromEmail) on one of these domains before scheduling. smtpMode=true means the location sends through its own SMTP provider instead.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:emails/campaigns.readonly
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3
Example:v3

Path Parameters

locationIdstringrequired

Location ID

Example:ve9EPM428h8vShlRW1KT

Response

Success

domainsobject[]required

Domains this location can send campaigns from. Use a sender address on one of them (or a subdomain); Validate Email Campaign warns with SENDER_DOMAIN_NOT_VERIFIED otherwise.

smtpModebooleanrequired

True when the location has no dedicated sending domains and sends through its own SMTP provider; any sender its provider accepts can be used.

Example:false