Authorizations
Bearer token authentication using your thanks.io API key
Body
Set to true to preview the postcard instead of sending it. This can be used with any send call to get a preview before sending.
true
ID of mailing list to sent to. Required if recipients and radius_search is not specified.
[5166, 514]Array of recipients to send to. Required if mailing_lists and radius_search is not specified.
- Create Recipient by Address
- Create Recipient by Email
Search for recipients within a radius of a given address. Required if mailing_lists and recipients are not specified. There is a $.05 lookup fee for each record.
ID of handwriting style to use.
4
Handwriting color to use. Options are preset named colors or specified as hex format, such as '#4287f5'
blue, black, green, purple, red "blue"
"#4287f5"
Boolean, set to true to turn on the realism effect for AI fonts.
true
ID of Sub Account to use for this order.
7
Optional email to send alerts to about order (such as QR scan notifications).
Send Mail as Standard Mail postage class. If false or not specified, First Class postage will be used.
Custom return name for the order.
"Custom Return"
Custom return address for the order.
"1 Main Street"
Custom return address line 2 for the order.
"Unit 1"
Custom return city for the order.
"Woodbridge"
Custom return state/province for the order.
"NJ"
Custom return postal code for the order.
"07095"
ID of image template to use for front of postcard. Required if front_image_url is not specified.
6
URL to image to use for front of postcard. Must be 1875px by 1275px for 4x6/6x9 postcards or 3337px x 1777px for 6x11 Postcards. Required if image_template is not specified.
"https://s3.amazonaws.com/cdn.thanks.io/user_image_library/gFBaJJJWRp60op3ZOoK7UaO5I7zi33rdKQGgHylR.png"
Handwritten message content used for content on back of postcard.
"Hey %FIRST_NAME%!,\n\nTHANK YOU for allowing us the opportunity to HELP you with your plan!"
ID of message template to use for content on back of postcard.
12
Use custom background image. This can be used to turn off the default background image.
URL to custom background image to use for back of postcard. This image will be placed behind the handwritten message. Must be 1875px by 1275px for 4x6/6x9 postcards or 3337px x 1777px for 6x11 Postcards.
"https://s3.amazonaws.com/cdn.thanks.io/user_image_library/gFBaJJJWRp60op3ZOoK7UaO5I7zi33rdKQGgHylR.png"
URL to Autogenerate QR Code on back of postcard. If not specified, account default QR code URL will be used.
"https://www.google.com"
Size of the postcard.
4x6, 6x9, 6x11 Response
Send Mailer Success
- Send Mailer Order Submitted Response
- Send Mailer Preview Response
Response when an Order is successfully submitted to Send Mailer
Unique identifier for the order
42664
User ID for the order
2
Sub-account Info For Order. Can be null
Sub account ID for the order
12345
Total estimated recipients for the order
1
Total authorization amount for the order in cents
58
Total leads fee for the order in cents
99
Mailing lists used for the order. Can be null if recipients or radius search is used.
"3046,3020"
List of recipients for the order
Front image URL for the order
"https://s3.amazonaws.com/cdn.thanks.io/user_image_library/1533645532.png"
Image template ID for the order
6
Custom background URL for the order
"https://s3.amazonaws.com/content-staging.thanks.io/templates/branding-builder-images/c09d39aadfc-3701d4467b8/4524cce0-78cb-11f0-b937-17570cbedaf4.png"
Message content for the order
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
Message template ID for the order
12345
Handwriting color to use
"rgba(31,0,113,0.80)"
Font size for the order
auto, small, medium, large "auto"
Handwriting style ID for the order
4
Appended "Or Current Resident" for the order. This is helpful if you want to ensure delivery.
false
Return name for the order
"John Doe"
Return address line 1 for the order
"123 Main Street"
Return address line 2 for the order
null
Return city for the order
"Anytown"
Return state/province for the order
"NY"
Return postal code for the order
"12345"
Type of the order
postcard, postcard6x11, letter, notecard, giftcard, windowlessletter "postcard"
Size of the order (valid for postcards only)
4x6, 6x9, 6x11 "4x6"
Method for the order
api, cardbuilder, drip, email, zapier Status of the order
reviewing, processing, fulfilled, cancelled, printed, shipped, paused, delivered Display status for the order
"Reviewing"
Display trigger for the order
"API"
Display type for the order
"Postcard-4x6"
Add-ons for the order
QR code URL for the order
"https://www.google.com?name=~FULL_NAME~&custom_field_1=~CUSTOM1~&custom_field2=~CUSTOM2~"
Gift card brand for the order (valid for Giftcard orders only)
null
Gift card image URL for the order (valid for Giftcard orders only)
null
Gift card amount for the order in cents (valid for Giftcard orders only)
null
Gift card brand long name for the order (valid for Giftcard orders only)
"Amazon.com"
Last updated timestamp for the order
"2025-08-14 16:42:44"
Creation timestamp for the order
"2025-08-14 16:42:44"