Authentication

Learn how to authenticate your requests to the Enerflo REST API.

When making requests to the Enerflo API, you will need to pass proper authentication parameters to identify yourself as an authorized user.

This is done by passing your api-key in one of two ways:

As an HTTP header (api-key)

--header 'api-key: yourapikeygoeshere.1234567890' \

As a parameter in the URL query string (api-key)

--location --globoff 'https://enerflo.io/api/endpoint?api-key=yourapikeygoeshere.1234567890' \

Recommended Best Practice: We strongly recommend using the HTTP header authentication method when making requests to the Enerflo API.

This ensures your api-key is transmitted securely, and avoids exposing sensitive credentials in the URL query string.

This practice enhances the overall security of your API interactions.


What’s Next