HomeGuidesAPI ReferenceChangelog
Log In
Changelog

🔹 What's new?

We've introduced comprehensive charge box management capabilities, enabling you to programmatically manage your physical charging hardware through the API.

📌 New endpoints:

Charge box management

  • GET /chargeboxes
  • GET /chargeboxes/:id
  • GET /chargeboxes/models
  • POST /chargeboxes
  • DELETE /chargeboxes/:id

🔄 Key changes & improvements

Endpoints

Feature

Description

Charge box Information

  • Retrieve a list of all charge boxes in your network with filtering and pagination support
  • Fetch detailed information about a specific charge box

Charge box model Information

  • Retrieve a list of supported and validated charge box models

Charge box Configuration

  • Create and onboard new charge boxes to your network

Charge box Deletion

  • Remove charge boxes from your network (soft delete)

📖 Next steps

  • Explore the API Reference [link] for detailed specifications
  • Read more in our guide here [link]

🔹 What's new?

We're introducing comprehensive remote charger control and enhanced EVSE management to the Spirii API, enabling you to manage your charging infrastructure without physical site visits.

Additionally, we're introducing token and token group management, enabling you to manage your charging tokens programmatically.

Remote charge box commands

  • Soft Reset: Graceful restart preserving data and configurations
  • Hard Reset: Full hardware reboot for unresponsive charge boxes

EVSE management and commands

  • Transaction control
    • Remote Start: Initiate charging sessions remotely - essential for app-based authorization and driver support
    • Remote Stop: End active sessions remotely to resolve stuck transactions
  • Unlock Connector: Remotely release connector locks to assist drivers with stuck cables on AC chargers with sockets.
  • Retrieve EVSE Information: List all EVSEs or fetch specific EVSE details including status, connectors, and power capabilities
  • Update EVSE Settings: Modify properties like maximum power output and connector type for individual EVSEs
  • Change Connector Availability: Update OCPP availability status for maintenance without affecting the entire charge box

Tokens management - Full CRUD operations

  • Tokens (also known as ID tags or charge keys) are unique identifiers that authenticate users to initiate a charging session.
  • Spirii differentiates between three types of tokens:
    • RFIDs
    • virtual tokens
    • and vehicle tokens.
  • Use the new token endpoints to manage tokens for your drivers and network.
  • We introduce full CRUD operations for token management, incl. (dis)abling tokens.

Token Groups management - Full CRUD operations

  • In Spirii, a token group is an access management mechanism where only tokens inside a group can authorize charging at specified locations.
  • Use these new token groups endpoints to manage location access for your drivers and network.
  • We introduce full CRUD operations for token group management, incl. (dis)associating locations and tokens to token groups.

📌 New endpoints:

Remote charge box management

  • POST /chargeboxes/:id/reset
  • POST /chargeboxes/:id/reboot

EVSE management

  • POST /evses/:uid/connectors/:id/remote-start-transaction
  • POST /evses/:uid/connectors/:id/remote-stop-transaction
  • POST /evses/:uid/connectors/:id/unlock
  • GET /evses & GET /evses/:id
  • PATCH /evses/:id/connectors/:id
  • POST /evses/:id/connectors/:id/change-availability

Token management

  • GET /tokens/:id
  • GET /tokens
  • POST /tokens
  • POST /tokens/:id/enable
  • POST /tokens/:id/disable
  • PATCH /tokens/:id
  • DELETE /tokens/:id

Token group management

  • GET /token-groups/:id
  • GET /token-groups
  • POST /token-groups
  • POST /token-groups/:id/enable
  • POST /token-groups/:id/disable
  • PATCH /token-groups/:id
  • DELETE /token-groups/:id
  • GET /token-groups/:id/locations
  • POST /token-groups/:id/locations/:locationId
  • DELETE /token-groups/:id/locations/:locationId
  • GET /token-groups/:id/tokens
  • POST /token-groups/:id/tokens/:tokenId
  • DELETE /token-groups/:id/tokens/:tokenId

🔄 Key changes & improvements

Endpoints

Feature

Description

Reset & Reboot

  • Soft reset for graceful restarts
  • Hard reset for unresponsive units

Transaction Control

  • Start sessions before vehicle connection
  • Stop active sessions remotely

Connector Management

  • Unlock AC socket connectors remotely
  • Assist with stuck cables

EVSE Information

  • List and retrieve EVSE details
  • Monitor equipment performance

EVSE Configuration

  • Update maximum power output
  • Modify connector types

Availability Control

  • Change OCPP availability status
  • Manage maintenance windows

Full CRUD operations for Tokens

  • Get a token by ID
  • Get a list of tokens
  • Create a new token
  • Enable a token
  • Disable a token
  • Update a token
  • Delete a token

Full CRUD operations for Token Groups

  • Get a token group by ID
  • Get a list of token groups
  • Create a new token group
  • Enable a token group
  • Disable a token group
  • Update a token group
  • Associate a location with a token group
  • Disassociate a location from a token group
  • Associate a token with a token group
  • Disassociate a token from a token group

📢 Use cases examples

For NOC & support teams:

  • Troubleshoot issues remotely without site visits
  • Assist drivers with authorization and stuck sessions
  • Unlock connectors when cables are stuck

For CPOs:

  • Build custom monitoring and alerting solutions
  • Perform maintenance without taking charge boxes offline
  • Manage fleet operations efficiently
  • Bulk-create and manage tokens
  • Manage location access via token groups

📖 Next steps

  • Explore the API Reference [link] for detailed specifications
  • Read more in our guide here [link]

🔹 What's New?

With version 2.2.0, we have just released 2 major upgrades to the Spirii API:

Temporary EVSE Status

Spirii's Temporary EVSE status functionality allows the charge point operator (CPO) to modify the charger status shared with the e-Mobility Service Providers (eMSPs). This feature updates the displayed charger status in the eMSP apps without touching the actual charger status.

The CPO can utilize this functionality for multiple use cases:

  • Maintenance mode: Avoid having drivers turn up at the charger only to be disappointed, whilst keeping the charger available for the technician to work on it.
  • Commissioning: Create hype for new chargers being planned, installed, tested, and configured.
  • Parking sensors: Allow an external sensor system to update the status when the parking space in front of the charger becomes occupied.
  • Reservation system: Allow an external booking system to update the reservation status of the charger.

📌 New Endpoints:
POSt /v2/temporary-evse-statuses
GET /v2/temporary-evse-statuses
GET /v2/temporary-evse-statuses/{id}
PATCH /v2/temporary-evse-statuses/{id}
DELETE /v2/temporary-evse-statuses/{id}

Locations V2 - Full CRUD operations

In addition to the existing GET endpoints, Locations V2 now includes the full CRUD operations, including the ability to create, update, and delete locations programmatically.

📌 New Endpoints:
POST /v2/locations
PATCH /v2/locations/{id}
DELETE /v2/locations/{id}


❌ What's Deprecated?

The old Locations V1 update endpoint is now deprecated under the Spirii Legacy API.

📌 Deprecated Endpoints:
PUT /locations

🔔 Action Required:
Partners using this endpoint should migrate to V2 as soon as possible.


🔄 Key Changes & Improvements

Endpoints

Change

Description

POSt /v2/temporary-evse-statuses GET /v2/temporary-evse-statuses GET /v2/temporary-evse-statuses/{id} PATCH /v2/temporary-evse-statuses/{id} DELETE /v2/temporary-evse-statuses/{id}

Temporary EVSE status

  • Set a temporary status on an EVSE
  • Get existing temporary statuses for an EVSE
  • Get all existing temporary statuses
  • Update the temporary status for an EVSE
  • Delete the temporary status for an EVSE

POST /v2/locations
PATCH /v2/locations/{id}
DELETE /v2/locations/{id}

Locations

  • Create a location
  • Update an existing location
  • Delete an existing location

📢 Migration & Next Steps

  • All partners using V1 should transition to V2 as soon as possible.
  • The V1 endpoint will remain operational for now, but will be fully sunset at a later date (to be announced).
  • If you use V1, please update your integrations accordingly and reach out if you need support.

📌 Breaking Changes Notice:
Some properties are not available in the V2 anymore and the structure has changes in a breaking manner, but if you are using V1, we strongly recommend migrating now to take advantage of the new capabilities and ensure long-term compatibility. See the API documentation for the full details.


🔹 What's New?

We've introduced Locations V2 and Tariffs V2 under the Spirii API.

The Charge Point Operator (CPO) of public chargers can use these GET endpoints to comply with the EU's Alternative Fuel Infrastructure Regulation (AFIR) article 20, which went into effect on April 14th, 2025.

Additionally, the added endpoints provide extended data fields related to location management and the pricing of public charging compared to the legacy Locations endpoint.

Both endpoints are structured and formatted in compliance with OCPI version 2.3.0.

📌 New Endpoints:
GET /v2/locations
GET /v2/locations/{id}
GET /v2/tariffs/{id}


❌ What's Deprecated?

The old Locations V1 endpoint is now deprecated under the Spirii Legacy API.

📌 Deprecated Endpoints:
GET /locations
GET /locations/{id}

🔔 Action Required:
Partners using this endpoint should migrate to V2 as soon as possible.


🔄 Key Changes & Improvements

Change

Endpoints

Description

Locations

GET /v2/locations
GET /v2/locations/{id}

  • Format upgraded to OCPI 2.3.0 structure
  • Added data for facilities, opening hours, directions, contact information, and energy mix.

Tariffs

GET /v2/tariffs/{id}

  • Format upgraded to OCPI 2.3.0 structure
  • Added data for tariff type, price components, and price restrictions

📢 Migration & Next Steps

  • All partners using V1 should transition to V2 as soon as possible.
  • The V1 endpoint will remain operational for now, but will be fully sunset at a later date (to be announced).
  • If you use V1, please update your integrations accordingly and reach out if you need support.

📌 Breaking Changes Notice:
Some properties are not available in the V2 anymore and the structure has changes in a breaking manner, but if you are using V1, we strongly recommend migrating now to take advantage of the new capabilities and ensure long-term compatibility. See the API documentation for the full details.


We fixed various bugs across the Transaction V2 and Voucher endpoints.

🔄 Key Changes & Improvements

Change

Endpoints

Description

Bug fix

Fixed an issue with the startedAt filter not being applied

Bug fix

Fixed an issue with retrieving voucher groups where the companyId was null

Bug fix

Fixed an issue where the response included deleted voucher groups (deletedAt timestamp being populated). These are now filtered out.

🔹 What's New?

We've introduced Transaction V2 under the Spirii API.
This new version increases readability, introduces new transaction properties and improves the overall response structure and filtering capabilities.

📌 New Endpoint:
GET /v2/transactions

📌 New Endpoint:
GET /v2/transactions/{id}


❌ What's Deprecated?

The old Transaction V1 endpoint is now deprecated under the Spirii Legacy API.

📌 Deprecated Endpoint:
GET /v1/transactions

GET /v1/transactions/{id}

🔔 Action Required:
Partners using this endpoint should migrate to V2 as soon as possible.


🔄 Key Changes & Improvements

Change

Transaction V1

Transaction V2

Data Structure

N/A

Response structure changes:

  • auth object has been added.
  • location object now returns type, countryCode, isEligibleForRefund properties
  • price object has been expanded to include VAT and tariff information
    -user object has been replaced by appUserId
  • chargingDetails has been added containing detailed charing information like charging status, state of charge meter start and stop values, and C02 emissions data
    -company object has been added
  • paymentStatus object has been added

Data Structure

meterValues object contains all meter values

meterValues has been deprecated and replaced by meterStart and meterStop properties inside the chargingDetails object

Pagination

Offset-based

Cursor-based for better scalability

Filtering

Limited filtering options

Enhanced filtering based on multiple fields: ongoing ,chargeBoxId ,evseId,locationType ,transactionType ,voucherId


📢 Migration & Next Steps

  • All partners using V1 should transition to V2 as soon as possible.
  • The V1 endpoint will remain operational for now, but will be fully sunset at a later date (to be announced).
  • If you use V1, please update your integrations accordingly and reach out if you need support.

📌 Breaking Changes Notice:
Some properties are not available in the V2 anymore and the structure has changes in a breaking manner, but if you are using V1, we strongly recommend migrating now to take advantage of the new capabilities and ensure long-term compatibility. See the API documentation for the full details.


🔹 What's New?

We've introduced Charge Detail Records V2 under the Spirii API.
This new version enhances performance, consistency, and scalability while improving response structure and filtering capabilities.

📌 New Endpoint:
GET /v2/charge-records


❌ What's Deprecated?

The old Charge Record V1 endpoint is now deprecated under the Spirii Legacy API.

📌 Deprecated Endpoint:
GET /v1/charge-records

🔔 Action Required:
Partners using this endpoint should migrate to V2 as soon as possible.


🔄 Key Changes & Improvements

ChangeCharge Record V1Charge Record V2
Base Path/v1/charge-records/v2/charge-records
Data StructureFlattened response formatStructured response with nested data
FilteringLimited filtering optionsEnhanced filtering on multiple fields (e.g., start/end timestamps, CPO ID, EMP ID)
PaginationOffset-basedCursor-based for better scalability
Status FieldLimited status valuesExpanded status values for better charge session tracking
Meter ValuesBasic meter readingsMore detailed energy consumption metrics
TimestampsUnix timestampsISO 8601 format for consistency

📢 Migration & Next Steps

  • All partners using V1 should transition to V2 as soon as possible.
  • The V1 endpoint will remain operational for now, but will be fully sunset at a later date (to be announced).
  • If you use V1, please update your integrations accordingly and reach out if you need support.

📌 Breaking Changes Notice:
No immediate disruptions, but if you are using V1, we strongly recommend migrating now to take advantage of the new capabilities and ensure long-term compatibility.


For any questions or migration support, please reach out to support at [email protected].

Welcome to the developer hub and documentation for spirii!