Create an API key in the portal or ask your TestFreaks contact. You can use the API key in three different ways.
Send it as bearer token.
curl -H "Authorization: Bearer sk_token" https://api.testfreaks.com/v1/clients
Send the API key as a user with basic authentication. Leave password empty.
curl -u sk_token: https://api.testfreaks.com/v1/clients
Send the API key as a request parameter called token
curl "https://api.testfreaks.com/v1/clients?token=sk_token"
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