---
updatedAt: 2026-07-02T10:37:44.000Z
agentTools:
  projectIndex: https://dreev.readme.io/llms.txt
---

# Charging Station Registration Callback

Notify the CSMS that a charging station has been registered in Dreev's system.


# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "CSMS Client API v2",
    "description": "API to be implemented by clients of the CSMS API.",
    "version": "1.0.0"
  },
  "security": [
    {
      "basicAuth": []
    },
    {
      "csmsOAuth": []
    }
  ],
  "paths": {
    "/charging-stations": {
      "post": {
        "operationId": "chargingStationRegistered",
        "summary": "Charging Station Registration Callback",
        "description": "Notify the CSMS that a charging station has been registered in Dreev's system.\n",
        "tags": [
          "charging-station"
        ],
        "requestBody": {
          "description": "The registered charging station",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CsmsChargingStation"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Charging station registered"
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Instant": {
        "type": "string",
        "format": "date-time",
        "example": "2021-02-01T10:00:00Z",
        "description": "ISO 8601 Date-Time UTC (`java.time.Instant`)"
      },
      "Problem": {
        "type": "object",
        "description": "See [RFC-7807 - Problem Details for HTTP APIs](https://tools.ietf.org/html/rfc7807)",
        "properties": {
          "type": {
            "type": "string",
            "format": "uri",
            "description": "A URI reference that identifies the problem type.\nThis specification encourages that, when dereferenced,\nit provide human-readable documentation for the\nproblem type.\nWhen this member is not present, its value is assumed to be \\\"about:blank\\\"\n"
          },
          "title": {
            "type": "string",
            "description": "A short, human-readable summary of the problem type."
          },
          "status": {
            "type": "integer",
            "description": "The HTTP status code generated by the origin server for this occurrence of the problem."
          },
          "detail": {
            "type": "string",
            "description": "A human-readable explanation specific to this occurrence of the problem."
          }
        }
      },
      "CsmsEvseId": {
        "type": "string",
        "description": "Unique ID identifying a CSMS EVSE"
      },
      "EvseId": {
        "type": "string",
        "description": "Legacy ID identifying a \"legacy EVSE\": now corresponds to either a charging station ID or an EVSE ID\n"
      },
      "CsmsId": {
        "type": "string"
      },
      "ChargingStationId": {
        "type": "string",
        "description": "Unique ID identifying a Charging Station"
      },
      "CsmsEvseV2": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/EvseId"
          },
          "csmsEvseId": {
            "$ref": "#/components/schemas/CsmsEvseId"
          }
        }
      },
      "CsmsChargingStation": {
        "type": "object",
        "description": "Charging Station",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/ChargingStationId"
          },
          "csmsId": {
            "$ref": "#/components/schemas/CsmsId"
          },
          "csmsChargingStationId": {
            "type": "string"
          },
          "evses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CsmsEvseV2"
            }
          },
          "registeredAt": {
            "$ref": "#/components/schemas/Instant"
          },
          "deletedAt": {
            "$ref": "#/components/schemas/Instant"
          }
        },
        "required": [
          "id",
          "csmsId",
          "csmsChargingStationId",
          "registeredAt"
        ]
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      },
      "csmsOAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "responses": {
      "Problem": {
        "description": "- 400 : Invalid request format or incoherent request\n- 404 : Resource not found\n- 401 : Invalid or Expired Token\n- 403 : Insufficient Scope and/or Permission\n- 500 : Business or Technical error\n",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            }
          }
        }
      }
    }
  }
}
```