Authentication

Prefinery supports token-based authentication using a secret api key.

Obtaining an API Key

Log in to your Prefinery account and click the Settings → Company Settings menu in the upper right corner and choose API Keys. Follow the instructions to create your unique API key.

Remember that anyone who has your API key has complete access to your account, so you'll want to guard this key just as you would your username and password. If you fear that your key has been compromised, you can easily generate a new one from within your account.

API Key (token-based) Authentication

To use this method, simply append the api_key parameter to your requests, like so

  
curl https://api.prefinery.com/api/v2/betas/1/testers/1.json?api_key=706de3ef2