Skip to content
thanks.io logo

Connectors / Marketing · HTTP Connector

thanks.io integration and API

Create a recipient, create a mailing list and send a postcard in thanks.io, and start a workflow when thanks.io sends “Order status changed”.

What can you do with thanks.io on Tray.ai?

thanks.io sends printed postcards, letters, notecards, and gift cards by mail, triggered from mailing lists or one-off orders. Tray.ai connects to thanks.io through the HTTP Connector, so your workflows can call the thanks.io API alongside the rest of your stack.

  • Send a postcard to each new customer when a deal is marked won in your CRM.
  • When thanks.io sends “QR code scanned”, log the scan on the contact's record in your CRM.
  • Send a notecard to thank customers who renew, using the renewal date in your CRM.
  • When thanks.io sends “Order item delivered”, set a follow-up call task for the rep in your CRM.
Connects through
HTTP Connector
Authentication
A bearer token or OAuth 2.0
Base URL
https://api.thanks.io/api/v2

Set it up

Connect thanks.io to Tray.ai

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

Save thanks.io's API token

Save the token thanks.io issues as a Tray.ai authentication. The HTTP Client sends it as a bearer token on every call. The token 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.thanks.io/api/v2 as the base URL. Or paste a cURL example from thanks.io's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “Get a recipient”

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

Start workflows from thanks.io events

Give thanks.io the URL of a Tray.ai webhook trigger. “Order status changed” can then start a workflow, and so can 4 other events.

Workflows to build with thanks.io

Connect thanks.io with Salesforce, HubSpot and Shopify

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

Mail a thank-you notecard when a Salesforce deal closes

When

A deal closes in Salesforce

Then

  1. Create a recipient with the customer's mailing address
  2. Send a notecard thanking them

With Salesforce

Log thanks.io QR code scans in HubSpot

When

QR code scanned

Then

  1. Find the contact in HubSpot
  2. Log the scan as an activity on the contact in HubSpot

With HubSpot

Send a postcard after a first Shopify order

When

A customer places their first order in Shopify

Then

  1. Create a recipient with the shipping address
  2. Send a postcard with a repeat order discount

With Shopify

Apps you can build on thanks.io data

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

Mail order tracker

Lists postcard and letter orders with delivery status and lets staff cancel an order.

Customer thank-you request form

Lets an account manager add a recipient and send a postcard or notecard using a saved message template.

QR scan response log

Shows QR code scans from mailers so the sales team can follow up with people who responded.

Give your AI agents thanks.io tools

Build an MCP server on thanks.io 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

  • Create a recipient
  • List mailing lists
  • Send a postcard
  • List orders
  • List message templates
  • Get a recipient
  • Update a recipient
  • Delete a recipient

What the thanks.io API covers

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

Recipients

  • Create a recipient
  • Get a recipient
  • Update a recipient
  • Delete a recipient

Mailing lists

  • List mailing lists
  • Create a mailing list
  • Delete a mailing list
  • List mailing list recipients

Mailers

  • Send a postcard
  • Send a letter
  • Send a notecard
  • Send a gift card

Orders

  • List orders
  • Track an order
  • Cancel an order

Message templates

  • List message templates
  • Create a message template
  • Update a message template

Events thanks.io can send to a Tray.ai webhook trigger

  • Order status changed
  • Order item status changed
  • Order item delivered
  • QR code scanned
  • Scan board stage changed

Checked against thanks.io's own documentation on 2026-10-22

docs.thanks.io/api-reference/introduction

Frequently asked questions

What can a Tray.ai workflow do in thanks.io?

The thanks.io API documents 18 actions across 5 resources (Recipients, Mailing lists, Mailers, Orders, Message templates). For example: Create a recipient; List mailing lists; Send a postcard. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with thanks.io?

The thanks.io API uses a bearer token and OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which thanks.io events can start a Tray.ai workflow?

thanks.io sends 5 events to a webhook URL, for example: Order status changed; Order item status changed; Order item delivered; QR code scanned; Scan board stage changed. A Tray.ai webhook trigger receives them and starts a workflow.

See thanks.io 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.