Authentication

How to authenticate against the Moxion Developer API

Getting an API Key

Before creating an API Key, an identity in the form of a Service Account must be created. Service Accounts can be created by Account Admins in the API tab of their Settings page. If you would like to request the Account Admin role for your user, please reach out to your account manager or email [email protected].

Once a Service Account is created, API Keys for that Service Account can be created in the same tab. By default, Service Accounts have no roles or permissions; these must [ currently ] be set up manually by Moxion personnel. Please reach out to your account manager or email [email protected] to request permissions for your Service Account.

Bearer Tokens

The API key should be included as the Authorization header with a bearer prefix.

curl 'http://api.moxionpower.com/developer/v1/organizations' \
  -H 'Authorization: bearer <YOUR TOKEN HERE>'