Glow Metering
  1. Authentication
Glow Metering
  • Glow Metering
    • Meter Installation
    • Meter Commissioning
    • Glow Monitor
      • Navigating Glow Monitor
        • Dashboard
        • Bridges
        • Sites
        • Account & Profile
    • API Documentation
      • Authentication
        • Obtain Access Token
          POST
      • Bridge Management
        • Retrieve Bridge List
      • Data Retrieval
        • Retrieve Regular (Billable) Data
        • Retrieve Irregular Readings
  1. Authentication

Obtain Access Token

Developing
POST
https://auth.glowmarkt.com/oauth/v2/token
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

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://auth.glowmarkt.com/oauth/v2/token' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'scope=openid profile urn:zitadel:iam:org:project:id:275615678508067109:aud'
Response Response Example
{
    "access_token": "K9LDKZUZHx-spRyCPJhmBZgL8MZu2ESjNcp6oJRWHF5nfmjbHdVFojnbj9b_XbqhHFDsruF",
    "token_type": "Bearer",
    "expires_in": 43199
}
Modified at 2025-10-07 15:51:04
Previous
API Documentation
Next
Retrieve Bridge List
Built with