Skip to content
Unisender logo

Connectors / Marketing · HTTP Connector

Unisender integration and API

Create a list, import contacts and create an email message in Unisender, and start a workflow when Unisender sends “Email status changed”.

What can you do with Unisender on Tray.ai?

Unisender is an email and SMS marketing service for building contact lists, sending campaigns and transactional messages, and tracking delivery statistics. Tray.ai connects to Unisender through the HTTP Connector, so your workflows can call the Unisender API alongside the rest of your stack.

  • Subscribe a contact when they opt in to the newsletter on your website.
  • When Unisender sends “Contact unsubscribed”, update their marketing preferences in your CRM.
  • Send an SMS when an order is ready for collection in your store system.
  • When Unisender sends “Campaign status changed”, post the update to your marketing team chat.
Connects through
HTTP Connector
Authentication
An API key in the query string
Base URL
https://api.unisender.com/{lang}/api

Set it up

Connect Unisender to Tray.ai

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

Save Unisender'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://api.unisender.com/{lang}/api as the base URL. Or paste a cURL example from Unisender's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List contact lists”

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

Start workflows from Unisender events

Give Unisender the URL of a Tray.ai webhook trigger. “Email status changed” can then start a workflow, and so can 5 other events.

Workflows to build with Unisender

Connect Unisender with HubSpot, Salesforce and Slack

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

Subscribe new HubSpot contacts to a Unisender list

When

A contact is created in HubSpot

Then

  1. Subscribe a contact to your newsletter list in Unisender
  2. Get a contact to confirm the subscription

With HubSpot

Mark Unisender unsubscribes in Salesforce

When

Contact unsubscribed

Then

  1. Find the contact in Salesforce by email
  2. Set the contact to opted out of email in Salesforce

With Salesforce

Post Unisender campaign status changes to Slack

When

Campaign status changed

Then

  1. Get campaign status for the campaign
  2. Post the status to the marketing channel in Slack

With Slack

Apps you can build on Unisender data

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

Campaign status board

Lists email and SMS campaigns with their current status and lets a marketer cancel one that should not go out.

Subscriber lookup

Finds a contact, shows their details and lets support unsubscribe them from a list on request.

Unsubscribe activity log

Shows subscribes and unsubscribes as they happen so the marketing team can watch list health per contact list.

Give your AI agents Unisender tools

Build an MCP server on Unisender 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

  • List contact lists
  • Subscribe a contact
  • Create an email message
  • Create a campaign
  • Create an email template
  • List fields
  • Create a list
  • Update a list

What the Unisender API covers

6 resources and 25 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.

Lists

  • List contact lists
  • Create a list
  • Update a list
  • Delete a list

Contacts

  • Subscribe a contact
  • Unsubscribe a contact
  • Import contacts
  • Export contacts
  • Get a contact

Messages

  • Create an email message
  • Create an SMS message
  • Send an email
  • Send an SMS

Campaigns

  • Create a campaign
  • Cancel a campaign
  • Get campaign status
  • List campaigns

Templates

  • Create an email template
  • Update an email template
  • Delete a template
  • List templates

Fields and tags

  • List fields
  • Create a field
  • Delete a field
  • List tags

Events Unisender can send to a Tray.ai webhook trigger

  • Email status changed
  • Contact subscribed
  • Contact unsubscribed
  • Campaign status changed
  • User data changed
  • Account status changed

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

www.unisender.com/ru/support/api/common/bulk-email

Frequently asked questions

What can a Tray.ai workflow do in Unisender?

The Unisender API documents 25 actions across 6 resources (Lists, Contacts, Messages, Campaigns, Templates, Fields and tags). For example: List contact lists; Subscribe a contact; Create an email message. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Unisender?

The Unisender 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 Unisender events can start a Tray.ai workflow?

Unisender sends 6 events to a webhook URL, for example: Email status changed; Contact subscribed; Contact unsubscribed; Campaign status changed; User data changed; Account status changed. A Tray.ai webhook trigger receives them and starts a workflow.

See Unisender 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.