Authentication to the Baremetrics API is performed using a bearer token. To use this, send the following with your request:
Our API uses Bearer Authentication for access to all endpoints. You can either supply an API key found in your API settings, or you can use an Access Token obtained via oAuth.
-H "Authorization: Bearer APIKEY"
All requests must be sent over HTTPS
Authentication Error
{
"error": "Unauthorized. Token not found"
}