Authentication

API key

API keys are provided by your TestFreaks contact and can be used in three different ways.

Bearer token

Send it as bearer token.

curl -H "Authorization: Bearer sk_token" https://api.testfreaks.com/v1/clients

Basic authentication

Send the API key as a user with basic authentication. Leave password empty.

curl -u sk_token: https://api.testfreaks.com/v1/clients

Token parameter

Send the API key as a request parameter called token

curl "https://api.testfreaks.com/v1/clients?token=sk_token"

Username/Password

You can also use your portal login account as username and password with basic authentication to access the API.

curl -u "portallogin:portalpassword" https://api.testfreaks.com/v1/clients