1. Consent Management and Offboarding
Glow Platform
  • Welcome to Glow Data Service!
  • Getting Started
  • Glow Portals
  • Introducing the Glow System
  • API Authentication
  • Smart Meter Onboarding
    • Introducing Smart Meter Onboarding
    • Smart Meter Eligibility Check
    • Terms and Conditions APIs and Management
    • Onboarding Methods — Direct Integration
      • EUI/Postcode Check
      • AVS Check
    • Onboarding Methods — Hosted Integration
      • Glow IDV SDK
        • Introducing the Glow SDK
        • Supported Verification Methods
        • Implementation Guide — Web
        • Implementation Guide — Mobile
        • Verifiable Credentials
        • Verification Result Screen
        • Consent Capture & Onboarding
    • Onboarding Methods — No Integration
      • Invitation Functionality
      • Agent Verification Portal
  • Data Retrieval
    • Retrieving Time Series Data from Onboarded Users
  • Consent Management and Offboarding
    • Consent Management
    • Offboarding
  • Glow CADs & Fulfilment
    • Glow CAD Fulfilment
  • API Reference
    • Smart Meter Elgibility
      • eligibility
        • smets-ihd-cad
          • Check MPxN has CAD/PPMID
        • checksmetsihd
          • postcode
            • Match EUI IHD with postcode
          • Match EUI IHD with MPxN
        • checksmetsmpxn
          • Check MPXN is eligible in DCC.
    • Content System
      • content
        • {contentId}
          • get a content object
          • Update an existing content object
        • Find all the content objects of an application
        • Add a content object
      • languagecontent
        • {languageContentId}
          • get a language content object by ID
          • Update an existing language content object
        • Find all the language content objects of an application
        • Add a language content object
      • termsconditions
        • {tcId}
          • get a terms and conditions object by ID
        • current
          • Find the terms and conditions that are in force.
        • Find all the terms and conditions of an application
        • Add terms and conditions
      • termsconditionsuser
        • {tcUserId}
          • get a specified terms and conditions user obj
        • Find all the responses to terms and conditions documents.
        • Add a user's response to Terms & Conditions document
      • supportdetails
        • {supportDetailsId}
          • get a support details object
        • Find all the support detail objects of an application
        • Add a support details object
      • faq
        • {faqId}
          • get a FAQ object
        • Find all the FAQ objects of an application
        • Add a faq object
      • prompttype
        • {promptTypeId}
          • get a Prompt Type object
        • Find all the prompt type objects of an application
        • Add a Prompt Type object
      • prompt
        • {promptId}
          • get a Prompt object
        • Find all the prompt objects of an application
        • Add a Prompt object
      • promptuser
        • {promptUserId}
          • get a Prompt User object
        • Find all the prompt user objects of an application
        • Add a Prompt User object
      • useraction
        • {userActionId}
          • get a User Action object
        • Find all the user action objects of an application
        • Add a User Action object
      • useractiontype
        • {userActionTypeId}
          • get a User Action Type object
        • Find all the user action type objects of an application
        • Add a User Action Type object
    • User System
      • register
        • User self registers
      • account
        • {accountId}
          • status
            • Find the status of a specified account. If the account is using an external directory service, this call will confirm whether the user is authenticated against it. This call requires administrative application level credentials.
          • mobileapptoken
            • Add mobile app token to a user
            • Remove a mobile app token to a user
          • Find specific account of an application.
          • Updates the account's metadata.
          • Delete account
        • status
          • With a given JWT token a user can have their account status verfied. If their account is created under an external directory service, this call will establish whether a user's token to the external service is still valid.
        • email
          • Change a user's email
        • name
          • Change a user's name
        • changepassword
          • Change a user's password
        • Find all accounts of an application
        • Add an account to an existing user
      • user
        • {userId}
          • username
            • Change a user's username
          • Find specific user that has an account in an application.
          • Delete specific user. This will delete all the accounts of a user. Please refer to delete account API. This API requires specific permissions.
        • verify
          • Generate a user verification token
          • Verify a user verification token
        • resetpassword
          • Generate a token that can be used by user to reset their password.
          • A user resets their password
        • verification
          • status
            • mpxns
              • renewal
                • Renew consent for a number of meterpoints
              • revocation
                • Revoke consent for a number of meterpoints
            • mpxn
              • {mpxn}
                • renewal
                  • Get meter point consent renewals
                  • Renew meter point consent
                • revocation
                  • Get meter point consent revocations
                  • Revoke meter point consent
            • API to retrieve user's meter points' consent and verification
        • Find specific user that has an account in an application from the username.
        • Create a user
      • accountprofile
        • {profileName}
          • Find specific group of application
        • Find all the profiles of an account
        • Create an account profile under a given profileName.
      • accountsession
        • get the session of an account
        • Update an account session.
      • auth
        • token
          • {tokenId}
            • Deletes a token, specified by its tokenId.
          • Returns all the tokens that are active and valid for a specified user.
        • newToken
          • Generate a new token for an account.
        • deleteToken
          • delete a token
        • oauth
          • access
            • Exchange the Authorization Code for an Access Token.
          • Check and validate an Oauth Access token.
          • Authenticate a user and generate an OAuth 2.0 Authorization Code Grant.
        • Checks whether a user token is valid.
        • authenticate an account
    • Virtual Entity System
      • vesys
        • appstats
          • find statistics on the number of Virtual Entities per application
      • virtualentity
        • {id}
          • resources
            • Find the resources of that belong to Virtual Entity with ID
          • attribute
            • Find a Virtual Entity's metadata by ID
            • Add/Update a Virtual Entity's metadata
            • delete metadata from the Virtual Entity
          • Find Virtual Entity by ID
          • Update a Virtual Entity
          • Delete a Virtual Entity
        • Add a new Virtual Entity
        • Find all Virtual Entities
      • vetype
        • {id}
          • resources
            • Find all resources that belong to a user that satisfy the Resource Types in the Virtual Entity Type definition.
          • Find Virtual Entity Type by ID
          • Update a Virtual Entity Type
        • Add a new Virtual Entity Type
        • Find all Virtual Entity Types
    • Webhook System
      • webhook
        • {webhookId}
          • Find webhook by ID
        • error
          • {errorId}
            • Find a particular webhook error
          • Find all the webhooks that have failed
        • Find all webhooks of an application (or user)
    • Resource System
      • resource
        • {id}
          • readings
            • Get resource readings
          • current
            • Get the current resource reading.
          • first-time
            • Get the UTC time of the first available reading
          • last-time
            • Get the UTC time of the most recent available reading
          • meterread
            • Get the cumulative value reported on a metering device. (Not supported for all resource types).
          • tariff
            • Get the latest tariff that is being applied to a resource.
          • tariff-list
            • Get the tariff history that is being applied to a cost resource.
          • catchup
            • Trigger a request to retrieve the latest available readings from the DCC.
          • glowbinary
            • API that returns the resource's raw data in the Glow Binary format.
          • Find resource by ID
        • count
          • Count the number of resources per resourceType
        • Add a new resource
        • Find all resources per user or application
      • resourcetype
        • {id}
          • resource
            • Find resources of a specific resource type that belong to a user
          • appresource
            • Find resources of a specific resource type that an application has access to
          • Find resourceType by ID
        • Add a new resource type.
        • Find all resource types
    • Notification System
      • alerttype
        • {alertTypeId}
          • Find alert type by ID
          • Updates the alert type's metadata.
        • Find all alert types of an application
        • Create an alert type
      • alert
        • {alertId}
          • Get an alert by Id
        • user
          • Get the alerts sent to a user
        • Send an alert
      • template
        • {templateId}
          • Find template type by ID
          • Updates the teplate's metadata.
        • {alertTypeId}
          • {channelType}
            • {cultureCode}
              • Find template by alertTypeId, channeType and cultureCode
              • Create template by alertTypeId, channeType and cultureCode
        • Find all templates of an application
        • Create a template
      • notification
        • {notificationId}
          • log
            • Get the logs of a particular notification
          • Get a notification by Id
    • DFS
      • dfs
        • termsconditions
          • The current version of terms and conditions that is pertinent to DFS for a particular application.
        • user
          • Get all the users that have opted in the DFS functionality
          • User opts in to DFS functionality for a particular MPxN. The mpxn field is only required if a user has more than one MPxN.
          • User opts out of DFS functionality
        • event
          • {dfsEventId}
            • user
              • Get all the users that have participated in a particular DFS event
          • user
            • participation
              • API to indicate User participating in particular DFS event
            • Get all the events a user has signed up for
    • Device Management System
      • devicetype
        • {id}
          • Find Device Type by ID
        • Add a new Device Type
        • Find all device types
      • device
        • {id}
          • status
            • This call can be used to see whether a gateway device is sending packets to the Glow Platform (i.e. via WiFi).
          • Find device by ID
        • resource
          • {resourceId}
            • Find the device that sources a specified resource.
        • meter-point
          • {meterPointNumber}
            • inventory
              • Get the DCC inventory of a meter point
            • resources
              • Get the resources associated to a meter point
        • smart-meter
          • {eui}
            • inventory
              • Get the DCC inventory of a meter point by providing an EUI.
        • status
          • This call can be used to see whether a gateway device is sending packets to the Glow Platform (i.e. via WiFi).
        • Get a user's devices
        • Add a new device
      • discover
        • {hardwareId}
          • Find device by ID
  1. Consent Management and Offboarding

Consent Management

Once an energy consumer has granted your organisation consent to access their energy data for a particular MPxN, that consent is typically valid for 18 months.
Consent is managed at the MPxN (meter point) level. This ensures that consent is explicitly associated with individual electricity or gas meter points at a property or site.
Using the Glow APIs, your organisation can:
check the current consent status for a user and their associated MPxNs ;
renew consent before it expires;
revoke consent;
retrieve the renewal history for a meter point; and
retrieve the revocation history for a meter point.

Get Consent Status#

A Glow user’s consent status is queried using their userId. The response lists the MPxNs for which the user has granted consent, together with the current verification status and expiry date. Specifically this is the API that can be used:

Input header fields (case sensitive):#

FieldRequired/OptionalExplanation
userIdrequiredThe userId of the user to check the user's verification status
AuthenticationrequiredBasic auth token comprised of the API key and password found in the Developer Portal
Successful response is a 200:
{
    "meterPointVerification": [
        {
            "isVerified": true,
            "isValidUntil": "2022-12-01T23:59:59.000Z",
            "mpxnKey": "mpan",
            "mpxn": "19*******34"
        }
    ]
}
where the meterPointVerification array contains the meter points associated with the user and their current consent status.

Return fields#

FieldExplanation
isVerifiedboolean value to indicate that the verification status of an MPxN
isValidUntilDate and time at which the current consent expires, in ISO 8601 format.
mpxnKeyMeter point identifier type: mpan for electricity or mprn for gas.
mpxnthe value of either the MPAN or MPRN

Renew consent#

Once consent has been granted, it is valid for 18 months. It can however be renewed prior to its expiry, for a further 18 months.
We recommend notifying energy consumers when they are approaching their consent expiry date. For example, your application may begin prompting the consumer to renew within the final 6 months of the consent period.
Use this API to renew the consent of a meter point:

Response#

{
    "valid": true,
    "meterPointVerificationRenewalId": "de122a5b-7c3d-4f0d-a894-40bc72a62cf6",
    "isValidUntil": "2023-10-22T23:59:59",
    "mpxn": "19*******34"
}

Revoke consent#

If at any time you want to revoke consent for an energy consumer, then the following call can be used. This call must also be used if an energy consumer contacts you and asks to revoke their consent for you to access their data.
By revoking consent the data retrieval from the DCC and the CAD join/unjoin will stop. If you wish to additionally remove access, use the Offboarding API.
curl -L -X POST 'https://api.glowmarkt.com/api/v0-1/user/verification/status/mpxn/19*******34/revocation' \
-H 'Content-Type: application/json' \
-H 'userId: USERID' \
-H 'Authentication: Basic ***********' \
--data-raw '{"isValidUntil": "2022-03-22T00:00:00"}'

Response#

{
    "valid": true,
    "meterPointVerificationRevocationId": "de122a5b-7c3d-4f0d-a894-40bc72a62cf6",
    "isValidUntil": "2022-03-22T00:00:00",
    "mpxn": "19*******34"
}
The isValidUntil value records the point from which the consent is no longer valid. It can be set to a value in the future.

Get consent renewals of meter point#

This API returns with a list of all consent renewals against an MPxN.
curl -L -X GET 'https://api.glowmarkt.com/api/v0-1/user/verification/status/mpxn/19*******34/renewal' \
-H 'Content-Type: application/json' \
-H 'Authorization: Basic RW********************Q' 

Response#

{
    "valid": true,
    "meterPointRenewals": [
        {
            "auditReference": {
                "applicationId": "b0f1b774-a586-4f72-9edd-27ead8aa7a8d"
            },
            "createdAt": "2022-04-22T15:15:22.125Z",
            "mpxn": "19*******34",
            "mpxnKey": "mpan",
            "renewedBy": {
                "key": "userId",
                "value": "141f0770-3a2e-40eb-9960-cdb92f6e32f3"
            },
            "meterPointVerificationRenewalId": "de122a5b-7c3d-4f0d-a894-40bc72a62cf6"
        },
        {
            "auditReference": {
                "applicationId": "b0f1b774-a586-4f72-9edd-27ead8aa7a8d"
            },
            "createdAt": "2022-04-22T15:18:53.123Z",
            "mpxn": "19*******34",
            "mpxnKey": "mpan",
            "renewedBy": {
                "key": "userId",
                "value": "141f0770-3a2e-40eb-9960-cdb92f6e32f3"
            },
            "meterPointVerificationRenewalId": "8488ed5d-6347-4e05-8cad-993ef4817498"
        },
        {
            "auditReference": {
                "applicationId": "b0f1b774-a586-4f72-9edd-27ead8aa7a8d"
            },
            "createdAt": "2022-04-22T15:19:07.275Z",
            "mpxn": "19*******34",
            "mpxnKey": "mpan",
            "renewedBy": {
                "key": "userId",
                "value": "141f0770-3a2e-40eb-9960-cdb92f6e32f3"
            },
            "meterPointVerificationRenewalId": "30fdca3e-d12e-4a65-9666-b47f90be9696"
        }
    ]
}
Each entry provides an audit record of a consent renewal, including when it occurred, which meter point was affected and the user responsible for the renewal.

Get consent revocations of meter point#

You can also view all consent revocations against an MPxN using this API:
curl -L -X GET 'https://api.glowmarkt.com/api/v0-1/user/verification/status/mpxn/2*****6/revocation' \
-H 'Content-Type: application/json' \
-H 'Authorization: Basic R*****Q' \
-H 'applicationId: b0f1b774-a586-4f72-9edd-27ead8aa7a8d'

Response#

{
    "valid": true,
    "meterPointRevocations": [
        {
            "auditReference": "b0f1b774-a586-4f72-9edd-27ead8aa7a8d",
            "createdAt": "2021-08-13T16:36:18.209Z",
            "mpxn": "2*****6",
            "mpxnKey": "mprn",
            "revokedBy": {
                "key": "userId",
                "value": "ccb94244-80b5-4197-affd-75f968ada451"
            },
            "meterPointVerificationRevocationId": "3d001fe4-1385-4515-98a8-2cbda16c1f3f"
        },
        {
            "auditReference": "6dc7e58b-4f10-4897-9a6b-a0971bee1235",
            "createdAt": "2021-08-19T08:35:21.147Z",
            "mpxn": "2*****6",
            "mpxnKey": "mprn",
            "revokedBy": {
                "key": "userId",
                "value": "453abdab-f0f1-436c-b231-5fc26754a25e"
            },
            "meterPointVerificationRevocationId": "dcd4bb90-da78-4bf8-bd7f-90f1eea5eded"
        }
    ]
}
Each entry provides an audit record of a consent revocation, including when the revocation occurred, the affected meter point and the entity responsible for the action.
Modified at 2026-08-07 16:07:44
Previous
Retrieving Time Series Data from Onboarded Users
Next
Offboarding
Built with