Skip to main content

How it works

Purpose#

The purpose of the API is to give you the possibility to build your own application (frontend and backend) and use Thor as a proxy to communicate with your chargeboxes. This is particularly useful if you want to implement your own payment methods or do something else that Thor doesn't.

You'll still need to use Thor's dashboard to create and manage the following resources:

  1. Chargeboxes
  2. RFIDs
  3. API integration

Bi-directional requests#

Thor's REST API is based on a two-way message exchange system:

  • Your system sends requests to Thor to start and stop charges and get information related to your chargeboxes
  • Thor sends notifications to your system when charges start or stop or when somebody is attempting to start a charge with an RFID card

Caveats#

If your're thinking of implementing an integration with Thor, you'll probably want to hide your chargeboxes from the Thor's app. This can be done by unchecking the checkbox Show chargeboxes on Thor app in the Customization page of the administration dashboard. This is better described here.