---
title: "Creates a new registration for the realtime API. The Realtime API sends you the data of the registred devices as soon as we have them on the cloud.
             More Information about the realtime API: https://www.smart-me.com/Description/api/realtimeapi.aspx"
method: POST
path: "/api/RegisterForRealtimeApi"
tags: ["RegisterForRealtimeApi"]
---

# Creates a new registration for the realtime API. The Realtime API sends you the data of the registred devices as soon as we have them on the cloud.
             More Information about the realtime API: https://www.smart-me.com/Description/api/realtimeapi.aspx

`POST /api/RegisterForRealtimeApi`

Creates a new registration for the realtime API. The Realtime API sends you the data of the registred devices as soon as we have them on the cloud. More Information about the realtime API: https://www.smart-me.com/Description/api/realtimeapi.aspx

## Request body

- RegisterRealtimeApiData — Container class for the register realtime API API
  - `ApiUrl` string — The URL of your endpoint. To this endpoint all the values are send to.
  - `BasicAuthPassword` string — The Password (basic auth) of your endpoint. Leave empty of none.
  - `BasicAuthUsername` string — The Username (basic auth) of your endpoint. Leave empty of none.
  - `Id` string — The ID of the registration
  - `MeterId` string — The ID of the Meter. Just used if the RegistrationType is "SingleMeterRegistration".
  - `RegistrationType` 'Disabled' | 'SingleMeterRegistration' | 'UserRegistration' — The Type of this registration (per meter, per user, ...)
  - `SerialNumber` string — The serial number of the Meter. Just used if the RegistrationType is "SingleMeterRegistration" and the MeterId is null. Example: 1 SME 01 63000000 or 6300000

## Response `204`

No Content

---

[API](https://skmtc.net/smartme/apis/smart-me.md) · [All operations](https://skmtc.net/smartme/apis/smart-me/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smartme/smart-me/versions/649342c9f0b1/schema)
