---
updatedAt: 2026-03-31T12:12:41.000Z
agentTools:
  projectIndex: https://api.net2grid.com/llms.txt
---

# /registration/no-gateway

Registers the account of a provisioned user. If voucher code is provided in the api call it should match with the voucher code/web shop coupon value set during provisioning.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "NET2GRID Customer Engagement API",
    "description": "This is the B2C NET2GRID API that can be used by mobile and web apps to manage the accounts and the data that are provided by the NET2GRID Meter Data Analytics Platform.",
    "version": "13.6.0"
  },
  "servers": [
    {
      "url": "http://api.net2grid.docker",
      "description": "API server"
    }
  ],
  "paths": {
    "/v2/registration/no-gateway": {
      "post": {
        "tags": [
          "Registration"
        ],
        "summary": "/registration/no-gateway",
        "description": "Registers the account of a provisioned user. If voucher code is provided in the api call it should match with the voucher code/web shop coupon value set during provisioning.",
        "operationId": "v2postActivateAccount",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ActivateAccountDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OkResponseDTO"
                },
                "examples": {
                  "OkResponse": {
                    "$ref": "#/components/examples/OkResponse"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request<br/>102: User already active on platform\n               <br/>114: User not verified\n               <br/>210: User not provisioned\n               <br/>240: Invalid email address\n               <br/>264: Invalid password\n               <br/>295: Password is too short.\n               <br/>296: Password is too long.\n               <br/>297: Password must include at least one lowercase letter.\n               <br/>298: Password must include at least one uppercase letter.\n               <br/>299: Password must include at least one special character.\n               <br/>300: Password contains forbidden characters.\n               <br/>301: Password must include at least one number.\n               <br/>422: Invalid input: Attributes missing for account activation\n               <br/>427: Voucher code provided is not valid\n               <br/>999: Unexpected error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseDTO"
                }
              }
            }
          },
          "500": {
            "description": "Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseDTO"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ActivateAccountDTO": {
        "required": [
          "email_address",
          "pincode"
        ],
        "properties": {
          "email_address": {
            "description": "The email address of a provisioned user.",
            "type": "string"
          },
          "pincode": {
            "description": "The password that will be associated with this account.",
            "type": "string"
          },
          "voucher_code": {
            "description": "The voucher code that is associated with the provisioned email address used. In the platform, this value is represented by the webshop_coupon.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "ErrorDTO": {
        "properties": {
          "code": {
            "type": "integer"
          },
          "message": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "ErrorResponseDTO": {
        "properties": {
          "status": {
            "type": "string"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorDTO"
          }
        },
        "type": "object"
      },
      "OkResponseDTO": {
        "required": [
          "status",
          "message"
        ],
        "properties": {
          "status": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "examples": {
      "OkResponse": {
        "summary": "Success response",
        "value": {
          "status": "ok",
          "message": "ok"
        }
      }
    }
  },
  "tags": [
    {
      "name": "Registration"
    }
  ],
  "x-explorer-enabled": false
}
```