Emails

Get an email by id

Returns one public email detail object by stable email identifier, including the clean public shop context nested under the email.

get/v1/emails/{emailId}

Request

  • Base URL: https://api.trendtrack.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.trendtrack.io/v1/emails/{emailId}
  • Auth: HTTP bearer

Path parameters

emailIdstring required

Stable public email identifier.

Response

Public email detail response. The response also includes the X-Request-Id header.

requestIdstring required

Request identifier mirrored in the X-Request-Id response header.

Example response

{
  "requestId": "5d93d8de-0f6d-46a4-bd10-2e519b7e96bc",
  "data": {
    "id": 123456,
    "sentAt": "2026-04-18T12:30:00.000Z",
    "campaignType": "Newsletter",
    "classification": {
      "promotionType": "Discount %",
      "promotionTypeId": 1,
      "category": "Promotional Campaign",
      "categoryId": 4,
      "event": {
        "name": "Black Friday",
        "id": 1,
        "category": "Commercial Events"
      }
    },
    "content": {
      "subject": "Up to 30% off this weekend",
      "preheader": "Limited-time offers picked for you.",
      "bodyPreview": "Shop limited-time offers picked for you before they are gone.",
      "bodyLength": 428,
      "screenshotUrl": "https://cdn.example.com/emails/123.png",
      "body": "Shop the full collection with exclusive offers for this weekend only."
    },
    "shop": {
      "id": "3f8aa146-6f96-46e8-9781-64db5166f9a8",
      "domain": "example.com",
      "name": "Example Shop",
      "createdAt": "2024-01-15T00:00:00.000Z",
      "profile": {
        "countryCode": "US",
        "currency": "USD",
        "defaultLanguage": "en",
        "mainMarket": "US",
        "isShopifyPlus": true,
        "visitorCountries": [
          "US",
          "CA",
          "GB",
          "FR",
          "DE"
        ]
      },
      "traffic": {
        "monthlyVisits": 45231,
        "growth30d": 0.18,
        "growth90d": 0.27,
        "growth180d": 0.41
      },
      "catalog": {
        "productsCount": 124,
        "categoryIds": [
          166,
          204
        ]
      },
      "marketing": {
        "emailsLast90d": 37,
        "avgEmailsPerWeek": 2.8,
        "activeAds": 14,
        "avgActiveAds7d": 9.2,
        "avgActiveAds30d": 11.6,
        "activeAdsGrowth7d": 0.12,
        "activeAdsGrowth30d": 0.34,
        "activeAdsGrowth90d": 0.58
      },
      "technology": {
        "mainTechnologyId": "04504d0b-df46-4f62-98b6-d4d9e14a2282",
        "mainTechnologySlug": "shopify",
        "mainTechnologyName": "Shopify"
      },
      "trustpilot": {
        "rating": 4.6,
        "reviewCount": 1834
      },
      "analytics": {
        "campaignTypes": {
          "Marketing": 75,
          "Newsletter": 25
        },
        "categoryTypes": {
          "Promotional Campaign": 28,
          "Product Campaign": 2
        },
        "emailsByDayOfWeek": {
          "0": 3,
          "1": 2,
          "3": 5,
          "6": 8
        }
      }
    },
    "language": "english"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.