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

# /notification/channel/enable

Enables notifications for the device on specified channel. A channel is the designated delivery method be it inbox, push notification or email.

# 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/notification/channel/enable": {
      "put": {
        "tags": [
          "Notifications"
        ],
        "summary": "/notification/channel/enable",
        "description": "Enables notifications for the device on specified channel. A channel is the designated delivery method be it inbox, push notification or email.",
        "operationId": "v2/putNotificationChannelEnable",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PutChannelEnableDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OkResponseDTO"
                },
                "examples": {
                  "OkResponse": {
                    "$ref": "#/components/examples/OkResponse"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request<br/>160: Unable to enable push<br/>165: PUSH_NOTIFICATIONS_NOT_SUPPORTED<br/>422: Invalid input<br/>999: Unspecified Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseDTO"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "PutChannelEnableDTO": {
        "required": [
          "channel"
        ],
        "properties": {
          "device_id": {
            "description": "The identifier of the device that wants to receive push notifications",
            "type": "string"
          },
          "device_type": {
            "description": "Identifies the type of device that wants to receive push notifications",
            "type": "string",
            "default": "ANDROID",
            "enum": [
              "ANDROID",
              "IOS"
            ]
          },
          "device_token": {
            "description": "Token to use to gain permission to send push notifications to the device on the relevant platform (GCM or APNS)",
            "type": "string"
          },
          "channel": {
            "description": "The channel for which push needs to be disabled",
            "type": "string",
            "enum": [
              "INBOX",
              "MOBILE_PUSH",
              "EMAIL",
              "REST"
            ]
          },
          "app_identifier": {
            "description": "The identifier that is used when more than one app should be supported for ANDROID or IOS. The value defined here should be agreed with NET2GRID",
            "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"
        }
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "bearerFormat": "JWT",
        "scheme": "bearer"
      }
    }
  },
  "tags": [
    {
      "name": "Notifications"
    }
  ],
  "x-explorer-enabled": false
}
```