Connectors / Marketing · HTTP Connector
Coupontools integration and API
Update a coupon status, update a coupon session and create a single-use link in Coupontools.
What can you do with Coupontools on Tray.ai?
Coupontools is a digital coupon and loyalty platform for creating mobile coupons, wallet loyalty cards and campaigns, then tracking how customers claim and redeem them. Tray.ai connects to Coupontools through the HTTP Connector, so your workflows can call the Coupontools API alongside the rest of your stack.
- Send a coupon by email to customers your CRM shows have a birthday this week.
- Add stamps to a card each time a purchase is recorded in your point of sale system.
- Create a single-use link for each new subscriber to your email marketing list.
- Send a coupon by SMS when a support ticket about a late order is closed in your help desk.
- Connects through
- HTTP Connector
- Authentication
- An API key in a request header
- Base URL
- https://api.coupontools.com/v3
Set it up
Connect Coupontools to Tray.ai
Each step uses Coupontools's own API details, from its documentation.
Save Coupontools's API key
Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays 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.coupontools.com/v3 as the base URL. Or paste a cURL example from Coupontools's API docs, and Tray.ai fills in the method, URL, and headers.
Start with “List coupons”
It's one of 19 documented actions, under Coupons. The response comes back as data the next step can map into your other apps.
Hand it to an AI agent
Wrap “Get a coupon” and “Update a coupon status” 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 Coupontools
Connect Coupontools with Shopify, HubSpot and Zendesk
Each one uses actions and events from Coupontools's own API documentation.
Email a Coupontools coupon after a first Shopify order
When
A customer places their first order in Shopify
Then
- Create a single-use link
- Send a coupon by email
With Shopify
Add new HubSpot contacts to a Coupontools group
When
A contact is created in HubSpot
Then
- List groups
- Add a contact to a group
With HubSpot
Send a make-good coupon when a Zendesk complaint is solved
When
A complaint ticket is solved in Zendesk
Then
- Create a single-use link
- Send a coupon by email
With Zendesk
Apps you can build on Coupontools data
Internal tools your team can build with an AI assistant, each one using Coupontools calls from its API documentation.
Coupon redemption lookup
Lets store staff search coupon sessions to check a coupon and mark it redeemed.
Loyalty card desk
Lets staff add stamps to a customer's loyalty card, redeem rewards or void a card.
Coupon send tool
Lets a marketer pick a coupon and send it to a customer by email or SMS.
Give your AI agents Coupontools tools
Build an MCP server on Coupontools 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 coupons
- Get a coupon session
- Create a single-use link
- List loyalty cards
- List groups
- Send a coupon by email
- Get a coupon
- Update a coupon status
What the Coupontools 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.
Coupons
- List coupons
- Get a coupon
- Update a coupon status
Coupon sessions
- Get a coupon session
- Update a coupon session
- Search coupon sessions
- Delete a coupon session
Single-use links
- Create a single-use link
- Create multiple single-use links
Loyalty cards
- List loyalty cards
- Copy a loyalty card
- Add stamps to a card
- Redeem card rewards
- Void a user's card
SMS and email groups
- List groups
- Create a group
- Add a contact to a group
Coupon delivery
- Send a coupon by email
- Send a coupon by SMS
Checked against Coupontools's own documentation on 2026-10-22
How Tray.ai makes this work
Coupontools 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 Coupontools, with a person's approval on any tool you choose.
Learn moreAgent Gateway for MCP
Expose Coupontools actions as governed MCP tools: observable, rate-limited and authenticated.
Learn moreTray Helix
Build apps on Coupontools data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn moreMore marketing apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every marketing connector →
Frequently asked questions
What can a Tray.ai workflow do in Coupontools?
The Coupontools API documents 19 actions across 6 resources (Coupons, Coupon sessions, Single-use links, Loyalty cards, SMS and email groups, Coupon delivery). For example: List coupons; Get a coupon session; Create a single-use link. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Coupontools?
The Coupontools API uses an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
See Coupontools 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.