API Key
All API requests must be authenticated with a bearer token. Create one in your dashboard under Settings → API Access: in the API Keys section, click Create API Key, name the key, and copy it. The key is shown only once.Bearer Token
Once you have created a token, you can use it to authenticate your API requests by including it in theAuthorization header as follows:
Best For
- Internal tools and back-office automation
- Server-to-server integrations
- Your first API prototype or production integration for a single thanks.io account
Example Request
Here is a minimal example of an authenticated request usingcurl:
creative_id in place of the image and message parameters. See Send a Creative.
For a full first-request walkthrough, including testing mode, see the Quickstart.