# Thanks io

```json
{
  "name": "Thanks io",
  "slug": "thanks_io",
  "url": "https://composio.dev/toolkits/thanks_io",
  "markdown_url": "https://composio.dev/toolkits/thanks_io.md",
  "logo_url": "https://logos.composio.dev/api/thanks_io",
  "categories": [
    "marketing & social media"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-05-12T10:28:21.213Z"
}
```

![Thanks io logo](https://logos.composio.dev/api/thanks_io)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Thanks io MCP or direct API to send postcards, automate direct mail campaigns, personalize messages, and track delivery — all using natural language.

## Summary

Thanks io is a direct mail automation platform for sending personalized postcards, letters, and notecards. Reach your customers offline with scalable, handwritten-style mailings.

## Categories

- marketing & social media

## Toolkit Details

- Tools: 29

## Images

- Logo: https://logos.composio.dev/api/thanks_io

## Authentication

- **Api Key**
  - Type: `api_key`
  - Description: Api Key authentication for Thanks.io.
  - Setup:
    - Configure Api Key credentials for Thanks.io.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- Add new customer to holiday mailing list
- Show all available handwritten font styles
- Create a mailing list for event attendees
- List image templates for thank you postcards

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `THANKS_IO_ADD_RECIPIENT_TO_MAILING_LIST` | Add Recipient to Mailing List | Tool to add a new recipient to a mailing list. Use after confirming recipient and list IDs. |
| `THANKS_IO_CREATE_MAILING_LIST` | Create Mailing List | Tool to create a new mailing list. Use when you need to group contacts under a fresh list before adding recipients. |
| `THANKS_IO_DELETE_MAILING_LIST` | Delete Mailing List | Tool to delete a mailing list. Use when you need to remove an entire mailing list by its ID. Confirm the list ID before calling. Example: "Delete the mailing list with ID 123e4567-e89b-12d3-a456-426614174000". |
| `THANKS_IO_DELETE_RECIPIENT_FROM_MAILING_LIST` | Delete Recipient from Mailing List | Tool to remove a recipient from a mailing list. Use after confirming the recipient's ID. |
| `THANKS_IO_DELETE_SUB_ACCOUNT` | Delete Sub-Account | Tool to delete a specific sub-account by ID. Use when you need to remove an existing sub-account. Confirm the ID before calling. |
| `THANKS_IO_EXECUTE_STORED_SEND` | Execute Stored Send | Tool to execute a previously created stored send. Use after creating a stored send to trigger delivery. The response body is empty; success is indicated by a 200 or 204 status. |
| `THANKS_IO_LIST_HANDWRITING_STYLES` | List Handwriting Styles | Tool to retrieve available handwriting styles. Use when selecting a style for handwritten personalization. |
| `THANKS_IO_LIST_IMAGE_TEMPLATES` | List Image Templates | Tool to retrieve a list of available image templates. Use when you need to browse or select a template for mailings. |
| `THANKS_IO_LIST_MAILING_LISTS` | List Mailing Lists | Tool to list all mailing lists. Use when you need to fetch existing lists before managing recipients. |
| `THANKS_IO_LIST_MESSAGE_TEMPLATES` | List Message Templates | Tool to list available message templates. Use when selecting a template for a mailing. |
| `THANKS_IO_MAILING_LISTS_BUY_RADIUS_SEARCH` | Buy Radius Search Mailing List | Tool to buy or append a radius search mailing list based on address and radius. Use when you need targeted mailing lists around a specified address. |
| `THANKS_IO_ORDER_PREVIEW_LETTER` | Preview letter send | Tool to preview a letter send as PDF. Use when you need to confirm letter content before placing the final order. Returns PDF preview URLs. |
| `THANKS_IO_ORDER_PREVIEW_NOTECARD` | Preview Notecard | Tool to preview a notecard send. Use when you need front and back images before placing an actual notecard order. |
| `THANKS_IO_ORDER_PREVIEW_WINDOWLESS_LETTER` | Preview Windowless Letter | Tool to preview a windowless letter send. Use when you need a PDF preview of the cover-only letter before placing an order. |
| `THANKS_IO_ORDERS_LIST` | List Orders | Tool to list recent orders. Use after placing orders to fetch the latest history, optionally filtering by sub-account or limiting the result count. |
| `THANKS_IO_ORDERS_SEARCH_BY_ADDRESS` | Search Orders by Recipient Street Address | Tool to search orders by recipient street address. Use when you need to find all orders sent to a specific street address. |
| `THANKS_IO_RECIPIENTS_CREATE_MULTI` | Create Multiple Recipients | Tool to create multiple recipients at once in a mailing list. Use when batching recipient additions for efficiency. |
| `THANKS_IO_RECIPIENTS_DELETE_BY_ADDRESS` | Delete Recipient by Address | Tool to delete a recipient by address and postal code. Use when you need to remove a recipient without their ID. |
| `THANKS_IO_RECIPIENTS_GET_DETAILS` | Get Recipient Details | Tool to get details for a specific recipient by ID. Use to verify a recipient’s full address and custom fields. |
| `THANKS_IO_RECIPIENTS_SEARCH_BY_EMAIL` | Search Recipients by Email | Tool to search recipients by email across mailing lists. Use when you need to find all recipients matching an email in specific lists. Example: "Find recipients with email test@test.com in lists [1,2,3]." |
| `THANKS_IO_RECIPIENTS_UPDATE` | Update Recipient | Tool to update existing recipient details by recipient ID. Use when modifying recipient data after confirming the recipient exists. |
| `THANKS_IO_SEND_POSTCARD` | Send Postcard | Tool to send a customized postcard. Use when you need to dispatch a physical postcard with a chosen image and handwritten message. |
| `THANKS_IO_STORED_SEND_NOTECARD` | Stored Send Notecard | Tool to create a stored send for a notecard. Use when you need to schedule mailing of a personalized notecard at a later time after preparing payload. |
| `THANKS_IO_STORED_SEND_POSTCARD` | Stored Send Postcard | Tool to create a stored send for a postcard. Use when you need to prepare and schedule postcard orders for later execution; returns a URL to finalize and send. |
| `THANKS_IO_STORED_SEND_WINDOWLESS_LETTER` | Stored Send Windowless Letter | Tool to create a stored send for a windowless letter. Use when you need to prepare a letter order for later execution. |
| `THANKS_IO_SUB_ACCOUNTS_CREATE` | Create Sub-Account | Tool to create a new sub-account. Use when you need to manage separate profiles with distinct return addresses and settings. |
| `THANKS_IO_SUB_ACCOUNTS_LIST` | List Sub Accounts | Tool to list all available sub-accounts. Use when you need to select a sub-account for operations requiring a sub-account context. |
| `THANKS_IO_SUB_ACCOUNTS_SHOW` | Get Sub Account Details | Tool to retrieve details for a specific sub-account by ID. Use when you need full configuration of a sub-account before performing sub-account scoped operations. |
| `THANKS_IO_SUB_ACCOUNTS_UPDATE` | Update Sub-Account | Tool to update details for a specific sub-account. Use when modifying title or return address details of a sub-account. Confirm sub-account ID before calling. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK
```python
pip install composio_openai
```

```typescript
npm install @composio/openai
```

#### Path 1, Step 2: Initialize Composio and Create Tool Router Session

Import and initialize Composio client, then create a Tool Router session
```python
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
openai = OpenAI()
session = composio.create(user_id='your-user-id')
```

```typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
```

#### Path 1, Step 3: Execute Thanks io Tools via Tool Router with Your Agent

Get tools from Tool Router session and execute Thanks io actions with your Agent
```python
tools = session.tools
response = openai.responses.create(
  model='gpt-4.1',
  tools=tools,
  input=[{
    'role': 'user',
    'content': 'Send a personalized postcard to a new recipient on my VIP mailing list'
  }]
)
result = composio.provider.handle_tool_calls(
  response=response,
  user_id='your-user-id'
)
print(result)
```

```typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'Send a personalized postcard to a new recipient on my VIP mailing list'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK and Claude Agent SDK
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
```

#### Path 2, Step 2: Create Tool Router Session

Initialize the Composio client and create a Tool Router session
```python
from composio import Composio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions

composio = Composio(api_key='your-composio-api-key')
session = composio.create(user_id='your-user-id')
url = session.mcp.url
```

```typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });

console.log("Creating Tool Router session...");
const { mcp } = await composio.create('your-user-id');
console.log(`Tool Router session created: ${mcp.url}`);
```

#### Path 2, Step 3: Connect to AI Agent

Use the MCP server with your AI agent
```python
import asyncio

options = ClaudeAgentOptions(
    permission_mode='bypassPermissions',
    mcp_servers={
        'tool_router': {
            'type': 'http',
            'url': url,
            'headers': {
                'x-api-key': 'your-composio-api-key'
            }
        }
    },
    system_prompt='You are a helpful assistant with access to Thanks io tools.',
    max_turns=10
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query('Add recipient john@example.com to our Summer Campaign mailing list')
        async for message in client.receive_response():
            if hasattr(message, 'content'):
                for block in message.content:
                    if hasattr(block, 'text'):
                        print(block.text)

asyncio.run(main())
```

```typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText, stepCountIs } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: mcp.url,
    headers: { 'x-api-key': 'your-composio-api-key' }
  }
});

const tools = await client.tools();

const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{ role: 'user', content: 'Add recipient john@example.com to our Summer Campaign mailing list' }],
  stopWhen: stepCountIs( 5 )
});

console.log(`Agent: ${text}`);
```

## Why Use Composio?

### 1. AI Native Thanks io Integration

- Supports both Thanks io MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable tool execution
- Rich coverage for sending, tracking, and customizing your direct mail campaigns

### 2. Managed Auth

- Built-in API Key handling with secure credential management
- Central place to manage, scope, and revoke Thanks io access
- Per user and per environment credentials instead of hard-coded keys

### 3. Agent Optimized Design

- Tools are tuned using real error and success rates to improve reliability over time
- Comprehensive execution logs so you always know what ran, when, and on whose behalf

### 4. Enterprise Grade Security

- Fine-grained RBAC so you control which agents and users can access Thanks io
- Scoped, least privilege access to Thanks io resources
- Full audit trail of agent actions to support review and compliance

## Use Thanks io with any AI Agent Framework

Choose a framework you want to connect Thanks io with:

- [OpenAI Agents SDK](https://composio.dev/toolkits/thanks_io/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/thanks_io/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/thanks_io/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/thanks_io/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/thanks_io/framework/codex)
- [OpenClaw](https://composio.dev/toolkits/thanks_io/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/thanks_io/framework/hermes-agent)
- [Google ADK](https://composio.dev/toolkits/thanks_io/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/thanks_io/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/thanks_io/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/thanks_io/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/thanks_io/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/thanks_io/framework/crew-ai)
- [Pydantic AI](https://composio.dev/toolkits/thanks_io/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/thanks_io/framework/autogen)

## Related Toolkits

- [Reddit](https://composio.dev/toolkits/reddit) - Reddit is a social news platform with thriving user-driven communities (subreddits). It's the go-to place for discussion, content sharing, and viral marketing.
- [Facebook](https://composio.dev/toolkits/facebook) - Facebook is a social media and advertising platform for businesses and creators. It helps you connect, share, and manage content across your public Facebook Pages.
- [Linkedin](https://composio.dev/toolkits/linkedin) - LinkedIn is a professional networking platform for connecting, sharing content, and engaging with business opportunities. It's the go-to place for building your professional brand and unlocking new career connections.
- [Active campaign](https://composio.dev/toolkits/active_campaign) - ActiveCampaign is a marketing automation and CRM platform for managing email campaigns, sales pipelines, and customer segmentation. It helps businesses engage customers and drive growth through smart automation and targeted outreach.
- [ActiveTrail](https://composio.dev/toolkits/active_trail) - ActiveTrail is a user-friendly email marketing and automation platform. It helps you reach subscribers and automate campaigns with ease.
- [Ahrefs](https://composio.dev/toolkits/ahrefs) - Ahrefs is an SEO and marketing platform for site audits, keyword research, and competitor insights. It helps you improve search rankings and drive organic traffic.
- [Amcards](https://composio.dev/toolkits/amcards) - AMCards lets you create and mail personalized greeting cards online. Build stronger customer relationships with easy, automated card campaigns.
- [Beamer](https://composio.dev/toolkits/beamer) - Beamer is a news and changelog platform for in-app announcements and feature updates. It helps companies boost user engagement by sharing news where users are most active.
- [Benchmark email](https://composio.dev/toolkits/benchmark_email) - Benchmark Email is a platform for creating, sending, and tracking email campaigns. It's built to help you engage audiences and analyze results—all in one place.
- [Bigmailer](https://composio.dev/toolkits/bigmailer) - BigMailer is an email marketing platform for managing multiple brands with white-labeling and automation. It helps teams streamline campaigns and simplify integration with Amazon SES.
- [Brandfetch](https://composio.dev/toolkits/brandfetch) - Brandfetch is an API that delivers company logos, colors, and visual branding assets. It helps marketers and developers keep brand visuals consistent everywhere.
- [Brevo](https://composio.dev/toolkits/brevo) - Brevo is an all-in-one email and SMS marketing platform for transactional messaging, automation, and CRM. It helps businesses engage customers and streamline communications through powerful campaign tools.
- [Campayn](https://composio.dev/toolkits/campayn) - Campayn is an email marketing platform for creating, sending, and managing campaigns. It helps businesses engage contacts and grow audiences with easy-to-use tools.
- [Cardly](https://composio.dev/toolkits/cardly) - Cardly is a platform for creating and sending personalized direct mail to customers. It helps businesses break through the digital clutter by getting real engagement via physical mailboxes.
- [ClickSend](https://composio.dev/toolkits/clicksend) - ClickSend is a cloud-based SMS and email marketing platform for businesses. It streamlines communication by enabling quick message delivery and contact management.
- [Crustdata](https://composio.dev/toolkits/crustdata) - CrustData is an AI-powered data intelligence platform for real-time company and people data. It helps B2B sales teams, AI SDRs, and investors react to live business signals.
- [Curated](https://composio.dev/toolkits/curated) - Curated is a platform for collecting, curating, and publishing newsletters. It streamlines content aggregation and distribution for creators and teams.
- [Customerio](https://composio.dev/toolkits/customerio) - Customer.io is a customer engagement platform for targeted messaging across email, SMS, and push. Easily automate, segment, and track communications with your audience.
- [Cutt ly](https://composio.dev/toolkits/cutt_ly) - Cutt.ly is a URL shortening service for managing and analyzing links. Streamline your workflows with quick, trackable, and branded short URLs.
- [Demio](https://composio.dev/toolkits/demio) - Demio is webinar software built for marketers, offering both live and automated sessions with interactive features. It helps teams engage audiences and optimize lead generation through detailed analytics.

## Frequently Asked Questions

### Do I need my own developer credentials to use Thanks io with Composio?

Yes, Thanks io requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
