Skip to content
Esendex logo

Connectors / Communication · HTTP Connector

Esendex integration and API

Send an SMS message and send a survey in Esendex. Connect Esendex to the rest of your communication stack with Tray.ai.

What can you do with Esendex on Tray.ai?

Esendex is a business messaging service for sending and receiving SMS, voice and rich messages, with inbox, batch and survey tools. Tray.ai connects to Esendex through the HTTP Connector, so your workflows can call the Esendex API alongside the rest of your stack.

  • Send an SMS message to customers when your field service app books their appointment.
  • List inbound messages every few minutes and create tickets in your help desk for replies.
  • Send a survey by text after your help desk closes a ticket.
Connects through
HTTP Connector
Authentication
Basic authentication
Base URL
https://api.esendex.com/v1.0

Set it up

Connect Esendex to Tray.ai

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

Step 1

Save Esendex's username and password

Save the credentials Esendex 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.

Step 2

Point the HTTP Client at the API

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

Step 3

Start with “List sent messages”

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

Step 4

Hand it to an AI agent

Wrap “Send an SMS message” and “Get a sent message” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Workflows to build with Esendex

Connect Esendex with Zendesk, Freshdesk and Salesforce

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

Text customers from Esendex when a Zendesk ticket is solved

When

A ticket is solved in Zendesk

Then

  1. Send an SMS message to the requester's phone number
  2. Add an internal note to the Zendesk ticket that the text was sent

With Zendesk

Log inbound Esendex texts as Freshdesk tickets

When

On a schedule

Then

  1. List inbound messages
  2. Create a ticket in Freshdesk for each message
  3. Mark a message read

With Freshdesk

Send Esendex appointment reminders from Salesforce

When

On a schedule

Then

  1. Find tomorrow's appointments in Salesforce
  2. Send an SMS message to each customer

With Salesforce

Apps you can build on Esendex data

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

Shared SMS inbox

Lists inbound texts with the conversation history for each number and lets staff reply and mark them read.

Bulk send monitor

Lists message batches and their messages and lets a team cancel a scheduled batch.

Give your AI agents Esendex tools

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

  • Send an SMS message
  • List inbound messages
  • List message batches
  • List messages with a number
  • Send a survey
  • List sent messages
  • Get a sent message
  • Mark a message read

What the Esendex API covers

5 resources and 14 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.

Messages

  • Send an SMS message
  • List sent messages
  • Get a sent message

Inbox

  • List inbound messages
  • Mark a message read
  • Delete an inbound message

Message batches

  • List message batches
  • List messages in a batch
  • Cancel a scheduled batch
  • Rename a batch

Conversations

  • List messages with a number
  • Filter conversation messages by date

Surveys

  • Send a survey
  • Download survey responses

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

developers.esendex.com/api-reference

Frequently asked questions

What can a Tray.ai workflow do in Esendex?

+

The Esendex API documents 14 actions across 5 resources (Messages, Inbox, Message batches, Conversations, Surveys). For example: Send an SMS message; List inbound messages; List message batches. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Esendex?

+

The Esendex API uses basic authentication. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

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