Skip to main content
Use bearer token authentication when your integration sends requests from a single thanks.io account that you control. This is the simplest authentication method and the best starting point for most direct API integrations. If you are building a multi-account SaaS integration where each customer connects their own thanks.io account, use OAuth instead.

API Key

All API requests must be authenticated with a bearer token. This token can be created in your API Settings under the “Personal Access Tokens (API Key)” section.

Bearer Token

Once you have created a token, you can use it to authenticate your API requests by including it in the Authorization 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 using curl:
For a full first-request walkthrough, including testing mode, see the Quickstart.