Before You Start
You will need:- A thanks.io account
- An API key from Settings → API Access in your dashboard
- API Testing Mode enabled while you validate your integration
Choose the Right Path
There are two common ways to integrate with thanks.io:- Automation workflow: add recipients to a mailing list and let thanks.io handle campaign logic. This is usually the best fit for recurring sends and user-managed campaigns.
- Direct API sends: create orders from your application and send mail immediately. This quickstart covers that path.
1
Create Account
Create an account at thanks.io if you have not already.
2
Create An API Key
In your dashboard, open Settings → API Access and click Create API Key in the API Keys section.
3
Enable Testing Mode
On the same page, turn on Test Mode in the API Settings section to avoid sending real mail while testing. In testing mode, API orders are automatically canceled instead of mailed. See API Testing Mode for details.
4
Submit Your First Order
This example sends a postcard directly through the API using an inline recipient, message, and front image URL.
For a production integration, we recommend sending a creative instead: design and save it once in your dashboard, then send it with a single
creative_id in place of the image and message parameters. See Send a Creative.5
Check Your Order Status
Check the result on the Orders page (Orders in the dashboard sidebar). While testing mode is enabled, your order should appear and then be canceled automatically.
Next Steps
- Design a creative in your dashboard and send it by ID — the recommended path for production sends. See Send a Creative and List Creatives.
- If you want to send mailpiece types other than postcards, review Direct Send Orders.
- If you need authentication guidance, see Bearer Token and OAuth.
- If you decide your users should manage campaigns in thanks.io, switch to the campaign workflow.