Connectors / Sales · HTTP Connector
Mailshake integration and API
Create a campaign, add recipients and create a lead in Mailshake, and start a workflow when Mailshake sends “Link clicked”.
What can you do with Mailshake on Tray.ai?
Mailshake is a sales engagement tool for running cold email outreach campaigns, tracking opens, clicks and replies, and handing interested recipients over as leads. Tray.ai connects to Mailshake through the HTTP Connector, so your workflows can call the Mailshake API alongside the rest of your stack.
- When Mailshake sends “Reply received”, create a follow-up task for the rep in your CRM.
- Add recipients to a campaign when your CRM marks new accounts as target prospects.
- Unsubscribe a recipient as soon as they become a customer in your CRM.
- When Mailshake sends “Lead status changed”, update the matching lead stage in your CRM.
- Connects through
- HTTP Connector
- Authentication
- Basic authentication or an API key in the query string or an API key in the request body or OAuth 2.0
- Base URL
- https://api.mailshake.com/2017-04-01
Set it up
Connect Mailshake to Tray.ai
Each step uses Mailshake's own API details, from its documentation.
Save Mailshake's username and password
Save the credentials Mailshake gives you as a Tray.ai authentication. The HTTP Client sends them as basic auth. They stay out of the workflow and out of the logs.
Point the HTTP Client at the API
Add an HTTP Client step and use https://api.mailshake.com/2017-04-01 as the base URL. Or paste a cURL example from Mailshake's API docs, and Tray.ai fills in the method, URL, and headers.
Start with “List campaigns”
It's one of 22 documented actions, under Campaigns. The response comes back as data the next step can map into your other apps.
Start workflows from Mailshake events
Give Mailshake the URL of a Tray.ai webhook trigger. “Link clicked” can then start a workflow, and so can 5 other events.
Workflows to build with Mailshake
Connect Mailshake with Salesforce, Slack, HubSpot and Pipedrive
Each one uses actions and events from Mailshake's own API documentation.
Create Salesforce leads from Mailshake replies
When
Lead created
Then
- Create or update the lead in Salesforce
- Notify the account owner in Slack
With Salesforce and Slack
Log Mailshake replies as activities in HubSpot
When
Reply received
Then
- Find the contact in HubSpot
- Log the reply as an email activity in HubSpot
With HubSpot
Add new Pipedrive prospects to a Mailshake campaign
When
A person is added in Pipedrive
Then
- Add recipients to the outreach campaign
- Note the campaign name on the person in Pipedrive
With Pipedrive
Apps you can build on Mailshake data
Internal tools your team can build with an AI assistant, each one using Mailshake calls from its API documentation.
Reply and lead review queue
Lists new leads from replies so a rep can review each one and close or reopen it.
Campaign performance board
Shows each campaign with its sent messages, opens, clicks and replies, and lets a manager pause or unpause it.
Recipient opt-out desk
Lets a rep look up a recipient and pause or unsubscribe them when they ask to stop.
Give your AI agents Mailshake tools
Build an MCP server on Mailshake 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 campaigns
- Add recipients
- List leads
- List sent messages
- Create a push
- Get a campaign
- Create a campaign
- Pause a campaign
What the Mailshake API covers
5 resources and 22 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.
Campaigns
- List campaigns
- Get a campaign
- Create a campaign
- Pause a campaign
- Unpause a campaign
- Export campaigns
Recipients
- Add recipients
- List recipients
- Get a recipient
- Pause a recipient
- Unsubscribe a recipient
Leads
- List leads
- Get a lead
- Create a lead
- Close a lead
- Reopen a lead
Activity
- List sent messages
- List opens
- List clicks
- List replies
Push subscriptions
- Create a push
- Delete a push
Events Mailshake can send to a Tray.ai webhook trigger
- Link clicked
- Email opened
- Reply received
- Message sent
- Lead created
- Lead status changed
Checked against Mailshake's own documentation on 2026-10-22
How Tray.ai makes this work
Mailshake plugs into the whole Tray.ai platform
Tray iPaaS
Integrate and automate across 12,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn moreTray Helix agents
Agents in the apps your teams run on Tray Helix that read, write, and act in Mailshake, with a person's approval on any tool you choose.
Learn moreAgent Gateway for MCP
Expose Mailshake actions as governed MCP tools: observable, rate-limited and authenticated.
Learn moreTray Helix
Build apps on Mailshake data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn moreMore sales apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every sales connector →
Frequently asked questions
What can a Tray.ai workflow do in Mailshake?
The Mailshake API documents 22 actions across 5 resources (Campaigns, Recipients, Leads, Activity, Push subscriptions). For example: List campaigns; Add recipients; List leads. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Mailshake?
The Mailshake API uses basic authentication, an API key in the query string, an API key in the request body, and OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
Which Mailshake events can start a Tray.ai workflow?
Mailshake sends 6 events to a webhook URL, for example: Link clicked; Email opened; Reply received; Message sent; Lead created; Lead status changed. A Tray.ai webhook trigger receives them and starts a workflow.
See Mailshake working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks. Someone from our team will be in touch soon.