Skip to main content
GET
/
evses
Retrieve a list of EVSE's with their current status
curl --request GET \
  --url https://api.spirii.com/evses \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "DK.SPI.Z203*2",
      "location": {
        "id": 1209,
        "name": "Gentofte Hospital"
      },
      "status": "Available",
      "info": "M3[63/0]S[0:]",
      "transaction": {
        "id": 239316,
        "duration": 33003356,
        "power": 0,
        "stateOfCharge": null
      }
    },
    {
      "id": "DK.SPI.Z203*1",
      "location": {
        "id": 1209,
        "name": "Gentofte Hospital"
      },
      "status": "SuspendedEV",
      "info": "M3[63/0]S[0:]",
      "transaction": {
        "id": 239316,
        "duration": 33003356,
        "power": 0,
        "stateOfCharge": null
      }
    },
    {
      "id": "DK.SPI.Z134*1",
      "location": {
        "id": 1175,
        "name": "EWII (Public parking)"
      },
      "status": "Offline",
      "transaction": {
        "id": 260117,
        "duration": 31814196,
        "power": 0,
        "stateOfCharge": null
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

locationId
integer

Retrieve EVSE's on a specific location

Response

EVSE Data

data
object[]
required

EVSE data