1. Email Themes
Target Circle API
  • Publisher API
    • Authentication
    • Performance
      • Get Performance Report
    • Touchpoints
      • List touchpoints
      • Retrieve a touchpoint
    • Schemas
      • Performance
        • Metrics
          • PerformanceMetricsQueryParams
          • PerformanceResultMetricsFinancialOutput
          • PerformanceReportMetricsTransactionOutput
          • PerformanceReportMetricsTouchpointOutput
          • PerformanceResultMetricsTrafficOutput
          • PerformanceResultMetricsFraudOutput
        • PerformanceResultBaseOutput
        • PerformanceResultOutput
        • PerformanceResultKpisBaseOutput
        • PerformanceResultKpisOutput
        • PerformanceDimensionsQueryParams
        • PerformanceFiltersQueryParams
        • PerformanceSortQueryParams
      • Touchpoints
        • Events
          • TouchpointEventOutput
          • TouchpointEventTypeClickOutput
          • TouchpointEventTypeImpressionOutput
          • TouchpointEventTypeVoucherOutput
        • TouchpointBaseOutput
        • TouchpointOutput
        • TouchpointPricingBaseOutput
        • TouchpointStatusEnum
        • TouchpointStatusOutput
        • TouchpointAttributionStatus
        • TouchpointAttributionStatusOutput
        • TouchpointOutputOld
      • Transactions
        • TransactionTypeEnum
        • TransactionTypeOutput
        • TransactionTrackingMethodEnum
        • TransactionTrackingMethodOutput
        • TransactionSourceCurrencyOutput
      • Offers
        • OldOfferSchemaForPublishers
        • OfferAttributionModelOutput
        • OfferOverviewOutput
        • OfferAttributionModelEnum
        • OfferStatus
        • OfferProductGroupOverviewOutput
        • OfferPriceSegmentOverviewOutput
      • Default Folder
        • TargetCurrencyCodeQueryParams
        • CountryOutput
        • MoneyOutput
        • DateRangeQueryParams
        • PaginationQueryParams
        • ListMeta
      • AdInventories
        • AdInventoryTrafficTypeEnum
      • Ads
        • Product Feeds
          • ProductFeedListItemOutput
          • ProductFeedStatusEnum
          • ProductFeedStatusOutput
          • ProductFeedUpdateFrequencyEnum
          • ProductFeedUpdateFrequencyOutput
          • ProductFeedFiltersQueryParams
          • ProductFeedOutput
        • AdTypeEnum
      • Accounts
        • ProviderOverviewOutput
  • Advertiser API
    • Authentication
    • Performance
      • Get Performance Report
    • Transactions
      • List transactions
      • Retrieve a transaction
    • Touchpoints
      • List touchpoints
      • Retrieve a touchpoint
    • Promoters
      • Create promoter
      • Retrieve promoter by email
    • Email Themes
      • List email themes
        GET
      • Create an email theme
        POST
      • Retrieve an email theme
        GET
      • Replace an email theme
        PUT
      • Delete an email theme
        DELETE
      • Set or clear the active email theme
        PUT
      • Preview a transactional email
        POST
      • Upload an email theme logo
        POST
    • Schemas
      • Performance
        • Metrics
          • PerformanceMetricsQueryParams
          • PerformanceResultMetricsFinancialOutput
          • PerformanceReportMetricsTransactionOutput
          • PerformanceReportMetricsTouchpointOutput
          • PerformanceResultMetricsTrafficOutput
          • PerformanceResultMetricsFraudOutput
        • PerformanceResultBaseOutput
        • PerformanceResultOutput
        • PerformanceResultKpisBaseOutput
        • PerformanceResultKpisOutput
        • PerformanceDimensionsQueryParams
        • PerformanceFiltersQueryParams
        • PerformanceSortQueryParams
      • Transactions
        • TransactionOutput
        • TransactionOutputTest
        • TransactionFilterQueryParams
        • TransactionSortQueryParams
        • TransactionTypeOutput
        • TransactionSourceCurrencyOutput
        • TransactionTrackingMethodOutput
        • TransactionTypeEnum
        • TransactionTrackingMethodEnum
      • Touchpoints
        • Events
          • TouchpointEventOutput
          • TouchpointEventTypeClickOutput
          • TouchpointEventTypeImpressionOutput
          • TouchpointEventTypeVoucherOutput
        • TouchpointBaseOutput
        • TouchpointSummary
        • TouchpointOutput
        • TouchpointPricingOutput
        • TouchpointStatusOutput
        • TouchpointAttributionStatusOutput
        • TouchpointStatusEnum
        • TouchpointAttributionStatus
      • Offers
        • OfferDeviceGroupOverviewOutput
        • OfferCategoryOutput
        • OfferStatus
        • OfferAttributionModelEnum
        • OfferAttributionModelOutput
        • OfferOverviewInput
        • OfferOverviewOutput
        • OfferProductGroupOverviewOutput
        • OfferPriceSegmentOverviewOutput
        • OfferCategory
      • Trades
        • Types
          • TradeTypeEnum
          • TradeManualOutput
          • TradeAutomaticOutput
          • TradeScheduledOutput
        • PriceCombinations
          • TradePriceCombination
          • TradePriceCombinationPricingFixed
          • TradePriceCombinationPricingPercentage
          • TradePriceCombinationPricingHybrid
        • TradeBaseOutput
        • TradeLinksEmbedsOutput
        • TradeAttributionModelExceptionOutput
        • TradeOverviewOutput
        • TradeOutputList
      • Ads
        • AdTypeEnum
      • AdInventories
        • AdInventoryTrafficTypeOutput
        • AdInventoryOverviewOutput
        • AdInventoryTrafficTypeEnum
      • Default Folder
        • TargetCurrencyCodeQueryParams
        • CurrencyOutput
        • LanguageInput
        • LanguageOutput
        • MoneyOutput
        • CountryOutput
        • DateRangeQueryParams
        • ListMeta
        • PaginationQueryParams
      • Promoters
        • PromoterOutput
        • PromoterBaseOutput
        • PromoterTypeOfferOutput
        • PromoterTypeAdvertiserOutput
        • PromoterInputCreate
        • PromoterBaseInputCreate
        • PromoterTypeAdvertiserInputCreate
        • PromoterTypeOfferInputCreate
        • PromoterTypeEnum
        • PromoterTypeOutput
        • PromoterTypeOfferInputLookup
        • PromoterTypeAdvertiserInputLookup
      • Accounts
        • AdvertiserOverviewOutput
        • AdvertiserOverviewInput
        • ProviderOverviewOutput
  • Provider API
    • How to use our API
      • Authentication
      • Query Parameters
    • Performance
      • Get Performance Report
    • Transactions
      • List transactions
      • Retrieve a transaction
    • Touchpoints
      • List touchpoints
      • Retrieve a touchpoint
    • AdInventories
      • ActionCodes
        • List action codes
        • Create action code
        • Delete action code
    • Email Themes
      • List email themes
      • Create an email theme
      • Retrieve an email theme
      • Replace an email theme
      • Delete an email theme
      • Set or clear the active email theme
      • Preview a transactional email
      • Upload an email theme logo
    • Schemas
      • Utils
        • TargetCurrencyCodeQueryParams
        • CurrencyOutput
        • ImageOutput
        • LanguageOutput
        • MoneyOutput
        • MoneyInput
        • UserOverviewOutput
        • CountryOutput
        • DateRangeQueryParams
        • PaginationQueryParams
        • ListMeta
      • Performance
        • Metrics
          • PerformanceMetricsQueryParams
          • PerformanceResultMetricsFinancialOutput
          • PerformanceReportMetricsTransactionOutput
          • PerformanceReportMetricsTouchpointOutput
          • PerformanceResultMetricsTrafficOutput
          • PerformanceResultMetricsFraudOutput
        • PerformanceResultBaseOutput
        • PerformanceResultOutput
        • PerformanceResultKpisBaseOutput
        • PerformanceResultKpisOutput
        • PerformanceDimensionsQueryParams
        • PerformanceFiltersQueryParams
        • PerformanceSortQueryParams
      • Transactions
        • TransactionOutput
        • TransactionTypeEnum
        • TransactionTypeOutput
        • TransactionFiltersQueryParams
        • TransactionTypeInput
        • TransactionTrackingMethodEnum
        • TransactionTrackingMethodOutput
        • TransactionSortQueryParams
        • TransactionSourceCurrencyOutput
      • Touchpoints
        • Events
          • TouchpointEventOutput
          • TouchpointEventTypeClickOutput
          • TouchpointEventTypeImpressionOutput
          • TouchpointEventTypeVoucherOutput
        • TouchpointStatusEnum
        • TouchpointAttributionStatus
        • TouchpointOutput
        • TouchpointPricingOutput
        • TouchpointBaseOutput
        • TouchpointStatusOutput
        • TouchpointAttributionStatusOutput
      • Offers
        • ProductGroups
          • OfferProductGroupOutput
          • OfferProductGroupInputCreate
          • OfferProductGroupInputPatch
          • OfferProductGroupOverviewOutput
          • OfferProductGroupOverviewInput
        • Programs
          • OfferProgramOutput
          • OfferProgramTermsOutput
        • Tags
          • OfferTagOutput
        • OfferOutput
        • OfferOverviewOutput
        • OfferOverviewInput
        • OfferStatusEnum
        • OfferStatusOutput
        • OfferCategoryEnum
        • OfferCategoryOutput
        • OfferAttributionModelEnum
        • OfferAttributionModelOutput
        • OfferLinksOutput
        • OfferEmbeddedOutput
        • OfferTrackingOutput
        • OfferFiltersQueryParams
        • OfferVerticalEnum
        • OfferVerticaOutput
        • OfferVerticaInput
        • OfferTagErrorResponse
        • OfferPriceSegmentOverviewOutput
      • Ads
        • Types
          • AdTypeEnum
          • AdTypeOutput
          • AdTypeTextLinkOutput
          • AdTypeBannerOutput
        • AdBaseOutput
        • AdOutput
      • AdInventories
        • AdInventoryTrafficTypeEnum
        • AdInventoryTrafficTypeOutput
        • AdInventoryInputOverview
      • Trades
        • Types
          • TradeTypeEnum
          • TradeTypeManualOutput
          • TradeTypeAutomaticOutput
          • TradeTypeScheduledOutput
        • PriceCombinations
          • TradePriceCombinationOutput
          • TradePriceCombinationPricingFixed
          • TradePriceCombinationPricingPercentage
          • TradePriceCombinationPricingHybrid
        • TradeBaseOutput
        • TradeOutput
        • TradeOverviewOutput
        • TradeListItemOutput
        • TradeAttributionModelExceptionOutput
        • TradeLinksEmbedsOutput
      • Finance
        • SelfBillings
          • LineItems
            • SelfBillingLineItemOutput
            • SelfBillingLineItemFeeOutput
            • SelfBillingLineItemExchangeOutput
            • SelfBillingLineItemConvertOutput
            • SelfBillingLineItemBaseInputCreate
            • SelfBillingLineItemExchangeInputCreate
            • SelfBillingLineItemConvertInputCreate
            • SelfBillingLineItemFeeInputCreate
            • SelfBillingLineItemInputCreate
          • SelfBillingBaseOutput
          • SelfBillingStatusOutput
          • SelfBillingListItemOutput
          • SelfBillingStandardOutput
          • SelfBillingCorrectionOutput
          • SelfBillingOutput
          • SelfBillingBaseInputCreate
          • SelfBillingStandardInputCreate
          • SelfBillingCorrectionInputCreate
          • SelfBillingInputCreate
        • Invoices
          • LineItems
            • SelfBillingLineItemBaseOutput
            • InvoiceLineItem
            • InvoiceLineItemBase
            • InvoiceLineItemFee
            • InvoiceLineItemExchange
            • InvoiceLineItemConvert
          • InvoiceInputCreate
          • InvoiceInputPatch
          • InvoiceLineItemInputCreate
          • InvoiceLineItemInputPatch
          • InvoicePayment
          • InvoiceBuyer
          • InvoiceSeller
          • Invoice
          • InvoiceStatus
          • InvoiceListItem
        • Address
        • DocumentPdf
      • Accounts
        • AdvertiserOverviewOutput
        • ProviderOverviewOutput
      • ActionCodes
        • ActionCodeOutput
        • ActionCodeInputCreate
        • ActionCodeInputUpdate
  1. Email Themes

Preview a transactional email

Developing
POST
https://api.targetcircle.com/v3/advertiser/email-themes/preview
With no draft, omit themeId or set it to null to preview the existing Twig template, or use a saved theme to preview its resolved MJML settings. Send a draft to preview unsaved MJML settings. When present with a draft, themeId identifies an editable theme. Previews keep placeholders such as {{trackingLink}}.
Public requests use the account Bearer token. The Manager browser can call /api/v3/advertiser/email-themes/preview with a fully authenticated session.
Send locale to choose the preview language. Omitting it uses the current request language. Supported values are returned by the Email themes list endpoint in previewLocales.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/jsonRequired

Examples

Responses

🟢200OK
application/json
Rendered email
Bodyapplication/json

🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
🟠409Conflict
🟠415Unsupported Media Type
🟠422Unprocessable Content
🔴500Internal Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.targetcircle.com/v3/advertiser/email-themes/preview' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "template": "invitation_email",
    "themeId": null
}'
Response Response Example
200 - Example 1
{
    "html": "string"
}
Modified at 2026-12-04 09:57:28
Previous
Set or clear the active email theme
Next
Upload an email theme logo
Built with