2) Get your Sandbox API key

Obtain a key and make your first API call.

To get an API key:

  1. Navigate to Team Settings > Developers in the Tremendous Dashboard
  2. Click on Add API key to generate a new API key
  3. Save the API key you’ve generated somewhere safe.

You won’t be able to obtain the same API key again. If you lose it, that’s OK - you can just create a new API key.

2734

Testing your key

You can copy/paste the cURL command below into your terminal or command prompt. Be sure to replace YOUR-API-KEY with your actual API key.

curl --url 'https://testflight.tremendous.com/api/v2/ping' \
     --header 'Authorization: Bearer YOUR-API-KEY'

You'll get a response like:

{
  "message": "Hello world! You've successfully authenticated to the Tremendous API as organization Test Company"
}