As the first step an access token needs to be created, with your client credentials.To retrieve an access token, use the following API. Replace <clientId> and <clientSecret> with your actual credentials which will need to be added to the request as Basic Auth keys. The credentials will be provided to you by the Glow Metering team securely.A successful response will return a JSON object containing the access token, along with its expiry.For performance it is advised that you do not create a new access token with each subsequent API request, but rather you generate a new one close to the expiry time.
Request
Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
Header Params
Body Params application/x-www-form-urlencodedRequired