Thanks.io MCP by usefulapi
v1.2.1Read mailing lists and orders, estimate costs; send postcards and cancel orders in Thanks.io.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
thanksio_list_sub_accounts List sub-accounts
List the sub-accounts of the account (separate senders or clients). Their ids work as sub_account in the order tools. Open API: GET /sub-accounts/.
thanksio_get_sub_account Get sub-account
Get one sub-account by id, with its return address settings. Open API: GET /sub-accounts/{subAccountId}.
| Parameter | Type | Description |
|---|---|---|
subAccountId * | string | Sub-account id, from thanksio_list_sub_accounts. |
thanksio_list_mailing_lists List mailing lists
List the mailing lists in the account. Their ids work as mailing_list_ids in the order tools. Open API: GET /mailing-lists/.
| Parameter | Type | Description |
|---|---|---|
items_per_page | integer | Items per page (API default when omitted). |
thanksio_get_mailing_list Get mailing list
Get one mailing list by id: its description, sub-account and recipient count. Open API: GET /mailing-lists/{mailingListId}.
| Parameter | Type | Description |
|---|---|---|
mailingListId * | string |
thanksio_list_mailing_list_recipients List mailing list recipients
List the recipients of one mailing list. Pass updated_since to get only recent changes. Open API: GET /mailing-lists-utils/recipients/{mailingListId}.
| Parameter | Type | Description |
|---|---|---|
mailingListId * | string | |
limit | integer | Recipients per page, up to 10000. |
updated_since | string | Return only recipients updated since this time. Format: YYYY-MM-DD HH:MM:SS. |
thanksio_get_recipient Get recipient
Get one recipient by id: name, address and custom fields. Open API: GET /recipients/{recipientId}.
| Parameter | Type | Description |
|---|---|---|
recipientId * | string |
thanksio_list_creatives List creatives
List saved creatives (an image template paired with a message template). Pass a creative id as creative_id to send it. Open API: GET /creatives/.
| Parameter | Type | Description |
|---|---|---|
complete_only | boolean | Only creatives that are complete. |
include_hidden | boolean | Include hidden creatives. |
mailer_type | string | Only this mailer type, as the API names it (e.g. postcard). |
page | integer | Page number, starting at 1. |
search | string | Search text in the creative name. |
sub_account_id | integer | Only creatives of this sub-account. |
thanksio_get_creative Get creative
Get one creative by id. Open API: GET /creatives/{creativeId}.
| Parameter | Type | Description |
|---|---|---|
creativeId * | string |
thanksio_list_message_templates List message templates
List message templates (the text and handwriting used on the back of a mailer). Open API: GET /message-templates/.
| Parameter | Type | Description |
|---|---|---|
items_per_page | integer | Items per page (API default when omitted). |
sub_account_id | integer | |
type | string | Template type, as the API names it. |
thanksio_get_message_template Get message template
Get one message template by id. Open API: GET /message-templates/{messageTemplateId}.
| Parameter | Type | Description |
|---|---|---|
messageTemplateId * | string |
thanksio_list_handwriting_styles List handwriting styles
List the handwriting styles you can pass as handwriting_style_id. Open API: GET /handwriting-styles.
thanksio_list_orders List orders
List recent orders, newest first. Amounts are integer cents. Each order shows its estimated cost and final cost. Open API: GET /orders/list.
| Parameter | Type | Description |
|---|---|---|
campaign | integer | Mailing list id of a campaign. Returns every order that campaign sent, including deleted actions. |
creative_id | integer | |
items_per_page | integer | Items per page (API default when omitted). |
sub_account_id | integer | |
type | string | Order type filter, as the API names it. |
thanksio_track_order Track order
Get the printing and delivery status of one order. Open API: GET /orders/{orderId}/track.
| Parameter | Type | Description |
|---|---|---|
orderId * | string | Order id, from thanksio_list_orders. |
thanksio_list_order_items List order items
List the mail pieces (items) inside one order, with their status. Open API: GET /orders/{orderId}/items.
| Parameter | Type | Description |
|---|---|---|
orderId * | string | |
page | integer | Page number, starting at 1. |
per_page | integer | Items per page, 1 to 100 (API default 50). |
thanksio_estimate_postcard Estimate postcard cost
Estimate the cost of a postcard order to the given recipients or mailing lists. Nothing is sent and nothing is charged. The estimate does not run address lookups, so an email-only recipient is priced as if its address were found. Open API: POST /estimate/postcard.
| Parameter | Type | Description |
|---|---|---|
creative_id | integer | Saved creative id from thanksio_list_creatives. Recommended for production sends. |
custom_background_image | string | URL of a custom background image for the back of the postcard. |
email_lookup | boolean | Look up a postal address from a recipient's email when no street address is given. Each address found is charged. This tool sends false unless you pass true. |
font_size | string | Handwriting size. |
front_image_url | string | Public URL of the front image. Needs the exact pixel size for the postcard size. |
handwriting_color | string | Handwriting color name (blue, black, green, purple, red) or hex. |
handwriting_realism | boolean | true turns on the realism effect for AI handwriting fonts. |
handwriting_style_id | integer | Handwriting style id from thanksio_list_handwriting_styles. |
image_template_id | integer | Image template id for the front of the postcard. |
mailing_list_ids | array | Mailing lists to mail. Give this or recipients. |
message | string | Handwritten message text for the back of the postcard. |
message_template_id | integer | Message template id for the back of the postcard. |
metadata | object | Your own key/value data, returned unchanged with the order. |
notification_emails | string | Comma-separated emails notified about order events. |
postage_class | string | Postage class. |
qrcode_url | string | URL for the QR code on the back of the postcard. |
recipients | array | Recipients to mail. Give this or mailing_list_ids. |
return_address | string | |
return_address2 | string | |
return_city | string | |
return_name | string | |
return_postal_code | string | |
return_state | string | |
size | string | Postcard size. |
sub_account | integer | Sub-account id to bill and send from. |
use_custom_background | boolean | true turns off the default background image. |
thanksio_create_recipient Create recipient
Add one recipient to a mailing list. Give a street address, or an email only if you accept that a send may charge an address lookup for it. Creates a record only; it sends no mail. Open API: POST /recipients.
| Parameter | Type | Description |
|---|---|---|
mailing_list_id * | integer | Mailing list to add the recipient to. |
absentee_address | string | Property address of an absentee owner, when it differs from the mailing address. |
absentee_city | string | City of the property address. Needs absentee_address. |
absentee_postal_code | string | ZIP or postal code of the property address. Needs absentee_address. |
absentee_province | string | State or province of the property address. Needs absentee_address. |
address | string | Street address, line 1. |
address2 | string | Street address, line 2. |
anniversary | string | Anniversary date, YYYY-MM-DD. |
city | string | |
company | string | |
country | string | Country code, e.g. US. |
custom1 | string | Free text for your own merge fields. |
custom10 | string | Free text for your own merge fields. |
custom2 | string | Free text for your own merge fields. |
custom3 | string | Free text for your own merge fields. |
custom4 | string | Free text for your own merge fields. |
custom5 | string | Free text for your own merge fields. |
custom6 | string | Free text for your own merge fields. |
custom7 | string | Free text for your own merge fields. |
custom8 | string | Free text for your own merge fields. |
custom9 | string | Free text for your own merge fields. |
dob | string | Date of birth, YYYY-MM-DD. |
email | string | |
name | string | Full name. The merge field %FIRST_NAME% uses it. |
phone | string | |
postal_code | string | |
province | string | State or province code, e.g. CA. |
thanksio_send_postcard Send postcard (paid, physical mail)
PAYS AND MAILS a physical postcard to the given recipients or mailing lists. Charged to the account credit or card. A mailed order cannot be recalled once printing starts. Email-only recipients are skipped unless email_lookup is true, because each address found is charged. Pass preview: true to get a preview instead of an order. Open API: POST /send/postcard.
| Parameter | Type | Description |
|---|---|---|
creative_id | integer | Saved creative id from thanksio_list_creatives. Recommended for production sends. |
custom_background_image | string | URL of a custom background image for the back of the postcard. |
email_lookup | boolean | Look up a postal address from a recipient's email when no street address is given. Each address found is charged. This tool sends false unless you pass true. |
font_size | string | Handwriting size. |
front_image_url | string | Public URL of the front image. Needs the exact pixel size for the postcard size. |
handwriting_color | string | Handwriting color name (blue, black, green, purple, red) or hex. |
handwriting_realism | boolean | true turns on the realism effect for AI handwriting fonts. |
handwriting_style_id | integer | Handwriting style id from thanksio_list_handwriting_styles. |
image_template_id | integer | Image template id for the front of the postcard. |
mailing_list_ids | array | Mailing lists to mail. Give this or recipients. |
message | string | Handwritten message text for the back of the postcard. |
message_template_id | integer | Message template id for the back of the postcard. |
metadata | object | Your own key/value data, returned unchanged with the order. |
notification_emails | string | Comma-separated emails notified about order events. |
postage_class | string | Postage class. |
preview | boolean | true returns a preview and sends nothing. |
qrcode_url | string | URL for the QR code on the back of the postcard. |
recipients | array | Recipients to mail. Give this or mailing_list_ids. |
return_address | string | |
return_address2 | string | |
return_city | string | |
return_name | string | |
return_postal_code | string | |
return_state | string | |
size | string | Postcard size. |
sub_account | integer | Sub-account id to bill and send from. |
use_custom_background | boolean | true turns off the default background image. |
thanksio_cancel_order Cancel order
Cancel an order that is still in review. The credits go back to the account. Orders that have started printing cannot be cancelled. Open API: PUT /orders/{orderId}/cancel.
| Parameter | Type | Description |
|---|---|---|
orderId * | string | Order id, from thanksio_list_orders. |