Getting Started With Triple's ...
Getting Started Overview

Step 1: Perform Authentication

2min

You will need to obtain an authentication token before you use the Triple API endpoints. The Triple API uses OAuth2 with a Client ID and Client Secret to authenticate.

To authenticate, use these steps.

  1. After you've signed with Triple, you will receive a Client ID and Client Secret that you'll use to send a request for a token.
  2. Place a colon in-between your Client ID and Client Secret, then apply Base64 encoding.

Here is an example:

Python


Note the content-typevalue. It is set to application/x-www-form-urlencoded

3. Send the encoded token to the following URL to get an OAuth2 token:  https://auth.tripleup.dev/oauth2/token.

Curl
Curl


4. You'll then receive a bearer token that you can use for the API. This server-side token lasts for 60 minutes.

Once you have been authenticated, go to Step 2: Register Card Programs.