GET
/
marketing-emails
/
v1
/
emails
/
{id}
Get the details for a marketing email
curl --request GET \
  --url https://api.hubapi.com/marketing-emails/v1/emails/{id} \
  --header 'Authorization: Bearer <token>'
{
  "ab": true,
  "abHoursToWait": 123,
  "abTestPercentage": 123,
  "abVariation": true,
  "absoluteUrl": "<string>",
  "allEmailCampaignIds": [
    123
  ],
  "analyticsPageId": "<string>",
  "analyticsPageType": "<string>",
  "archived": true,
  "author": "<string>",
  "authorAt": 123,
  "authorEmail": "<string>",
  "authorName": "<string>",
  "authorUserId": 123,
  "campaign": "<string>",
  "campaignName": "<string>",
  "campaignUtm": "<string>",
  "canSpamSettingsId": 123,
  "categoryId": 123,
  "contentTypeCategory": 123,
  "created": 123,
  "createdById": 123,
  "currentState": "<string>",
  "currentlyPublished": true,
  "domain": "<string>",
  "emailBody": "<string>",
  "emailNote": "<string>",
  "emailTemplateMode": "<string>",
  "emailType": "<string>",
  "emailbodyPlaintext": "<string>",
  "freezeDate": 123,
  "fromName": "<string>",
  "htmlTitle": "<string>",
  "id": 123,
  "isGraymailSuppressionEnabled": true,
  "isLocalTimezoneeSend": true,
  "isPublished": true,
  "isRecipientFatigueSuppressionEnabled": true,
  "lastEditSessionId": 123,
  "lastEditUpdateId": 123,
  "layoutSections": {},
  "leadFlowId": 123,
  "liveDomain": "<string>",
  "mailingListsExcluded": [
    123
  ],
  "mailingListsIncluded": [
    123
  ],
  "maxRssEntries": 123,
  "metaDescription": "<string>",
  "name": "<string>",
  "pageExpiryEnabled": true,
  "pageRedirected": true,
  "portalId": 123,
  "previewKey": "<string>",
  "processingStatus": "<string>",
  "publishDate": 123,
  "publishImmediately": true,
  "publishedUrl": "<string>",
  "replyTo": "<string>",
  "resolvedDomain": "<string>",
  "rssEmailByText": "<string>",
  "rssEmailClickThroughText": "<string>",
  "rssEmailCommentText": "<string>",
  "rssEmailEntryTemplateEnabled": true,
  "rssEmailImageMaxWidth": 123,
  "rssEmailUrl": "<string>",
  "slug": "<string>",
  "smartEmailFields": {},
  "state": "<string>",
  "styleSettings": {},
  "subcategory": "<string>",
  "subject": "<string>",
  "subscription": 123,
  "subscriptionName": "<string>",
  "teamPerms": [
    "<string>"
  ],
  "templatePath": "<string>",
  "transactional": true,
  "unpublishedAt": 123,
  "updated": 123,
  "updatedById": 123,
  "url": "<string>",
  "useRssHeadlineAsSubject": true,
  "userPerms": [
    "<string>"
  ],
  "vidsExcluded": [
    123
  ],
  "vidsIncluded": [
    123
  ],
  "widgets": {}
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
string
required

The ID of the email that you want to get the details for.

Response

200
application/json

Marketing email details

The response is of type object.