Authentication

API key

Create an API key in the portal or ask your TestFreaks contact. You can use the API key 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