Skip to content
theMarketer logo

Connectors / Marketing · HTTP Connector

theMarketer integration and API

Add a subscriber, create a product and update order status in theMarketer, and start a workflow when theMarketer sends “Contact subscribed”.

What can you do with theMarketer on Tray.ai?

theMarketer is an ecommerce marketing platform for online stores, covering email, SMS and push campaigns, automations, loyalty points, product reviews and transactional messages. Tray.ai connects to theMarketer through the HTTP Connector, so your workflows can call the theMarketer API alongside the rest of your stack.

  • When theMarketer sends “Contact unsubscribed”, update the opt-out in your CRM.
  • Save an order in theMarketer for each purchase made in your point of sale system.
  • When theMarketer sends “Email bounced”, flag the address on the customer's record in your CRM.
  • Add a subscriber when a customer opts in at checkout in your ecommerce store.
Connects through
HTTP Connector
Authentication
An API key in the query string
Base URL
https://t.themarketer.com

Set it up

Connect theMarketer to Tray.ai

Each step uses theMarketer's own API details, from its documentation.

Save theMarketer's API key

Save the key as a Tray.ai authentication and add it to the query string from $.auth, so it never sits in the workflow itself.

Point the HTTP Client at the API

Add an HTTP Client step and use https://t.themarketer.com as the base URL. Or paste a cURL example from theMarketer's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “Get subscriber status”

It's one of 19 documented actions, under Subscribers. The response comes back as data the next step can map into your other apps.

Start workflows from theMarketer events

Give theMarketer the URL of a Tray.ai webhook trigger. “Contact subscribed” can then start a workflow, and so can 6 other events.

Workflows to build with theMarketer

Connect theMarketer with Shopify, HubSpot and Google BigQuery

Each one uses actions and events from theMarketer's own API documentation.

Send paid Shopify orders to theMarketer for loyalty points

When

An order is paid in Shopify

Then

  1. Save an order
  2. Manage loyalty points for the customer

With Shopify

Sync theMarketer unsubscribes to HubSpot

When

Contact unsubscribed

Then

  1. Find the customer in HubSpot
  2. Mark the customer as unsubscribed from email in HubSpot

With HubSpot

Load theMarketer campaign reports into Google BigQuery

When

On a schedule

Then

  1. Get email campaign reports
  2. Get SMS campaign reports
  3. Load the figures into Google BigQuery

With Google BigQuery

Apps you can build on theMarketer data

Internal tools your team can build with an AI assistant, each one using theMarketer calls from its API documentation.

Campaign performance report

Shows audience, email and SMS campaign reports side by side for an online store.

Customer loyalty desk

Looks up a shopper's loyalty points and lets support add or adjust points.

Subscriber status lookup

Checks a subscriber's status and lets support update tags, remove them or anonymize their email.

theMarketer MCP server for AI agents

Build an MCP server on theMarketer in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • Add a subscriber
  • Create a product
  • Save an order
  • Send an email
  • Get loyalty info
  • Get audience reports
  • Add subscribers in bulk
  • Remove a subscriber

What the theMarketer API covers

6 resources and 19 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Subscribers

  • Add a subscriber
  • Add subscribers in bulk
  • Remove a subscriber
  • Update tags
  • Get subscriber status
  • Anonymize an email

Products

  • Create a product
  • Update a product
  • Sync categories
  • Sync brands

Orders

  • Save an order
  • Update order status

Transactional messages

  • Send an email
  • Send an SMS

Loyalty

  • Get loyalty info
  • Manage loyalty points

Reports

  • Get audience reports
  • Get email campaign reports
  • Get SMS campaign reports

Events theMarketer can send to a Tray.ai webhook trigger

  • Contact subscribed
  • Contact unsubscribed
  • Email bounced
  • Email marked as spam
  • Transactional email delivered
  • Transactional SMS delivered
  • Loyalty points earned

Checked against theMarketer's own documentation on 2026-10-22

developers.themarketer.com/reference

Frequently asked questions

What can a Tray.ai workflow do in theMarketer?

The theMarketer API documents 19 actions across 6 resources (Subscribers, Products, Orders, Transactional messages, Loyalty, Reports). For example: Add a subscriber; Create a product; Save an order. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with theMarketer?

The theMarketer API uses an API key in the query string. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which theMarketer events can start a Tray.ai workflow?

theMarketer sends 7 events to a webhook URL, for example: Contact subscribed; Contact unsubscribed; Email bounced; Email marked as spam; Transactional email delivered; Transactional SMS delivered; Loyalty points earned. A Tray.ai webhook trigger receives them and starts a workflow.

See theMarketer working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.