GraphQL API (Enerflo 2.0)
Enerflo v2.0 is powered by a robust GraphQL API. If you're new to GraphQL, we recommend visiting GraphQL.org to familiarize yourself with core concepts like Queries, Mutations, Schemas, and Introspection. This foundation will help you effectively interact with Enerflo's GraphQL API, which adheres to the GraphQL standard.
All GraphQL requests must contain 4 key components:
- The correct API endpoint: This is ALWAYS
https://api.enerflo.io/graphql
- A valid
x-org
header. This is ALWAYS the value of your enerflo subdomain. - An
Authorization
header which contains your API key as a Bearer token. (If any of that sounds unfamiliar please consider these two resources): - A properly formed GraphQL Query or Mutation
The request itself can be issued from any source that can adhere to the formatting requirements of the graphql specification.
While there are dozens GraphQL clients or IDEs that that could do this for you, we'll highlight three that are popular in our community:
Our favorite GraphQL clients include:
Updated 1 day ago