The Terminus Platform API uses API keys for authentication. API keys should be treated as secrets and should not be stored in GitHub repositories, client side code, or anywhere insecure.

You can authenticate to the API using HTTP Basic Auth with the username containing your API key (-u api_key_goes_here). You do not need to provide a value for the password.

If you need to authenticate for a cross-origin request, you can also use a bearer token via -H "Authorization: Bearer api_key_goes_here".

All calls to the API must be made via HTTPS.