Skip to main content
Use this quickstart if you want to send mailers directly from your application. If you want your users to manage campaigns and automation inside thanks.io, start with the campaign workflow instead.

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.
Once you know you want direct sends, follow the steps below to submit your first order.
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