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. readonlyAuth methods:
OAuthPrivate IntegrationToken type:
Sub-Account TokenRequest
Headers
Versionstringrequired
API Version
Available options
v3Example:
v3Path Parameters
locationIdstringrequired
Location ID
Example:
ve9EPM428h8vShlRW1KTResponse
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