Skip to content

RFID terminals

With an RFID terminal, employees clock in and out with a card or chip, without a browser or phone. The first tap clocks in, the next one clocks out.

  1. Open Admin → Settings and choose the RFID terminals section.
  2. Give the terminal a name, for example “Entrance plant 1”, and click Create key.
  3. Copy the key and enter it in the terminal. Samado shows it only this once.
  4. For each person, enter the chip code of their card under Admin → Employees, in the Profile section (sign-in and terminal).

Create a separate key for each terminal. The list then shows when each terminal was last used, and you can lock out a single device.

RFID terminals in the settings Name the terminal, create a key. “How to connect a terminal” shows the address and an example.

Connecting a terminal (for whoever sets up the device)

Section titled “Connecting a terminal (for whoever sets up the device)”

On every card tap the terminal sends a request to Samado. The exact address for your Samado app is shown under Admin → Settings → RFID terminals → How to connect a terminal, ready to copy.

  • Address: POST https://<your Samado app>/api/terminal/clock
  • Headers: X-API-Key: <the terminal's key> and Content-Type: application/json
  • Body: {"chip_code": "04A1B2C3"}, the chip code exactly as entered for the person

Responses:

Status Meaning
200 Clocked. action is clock_in or clock_out, message a short text for the display, for example “Maria eingestempelt”
404 Unknown chip code, or the person is deactivated
401 Wrong or deleted key
429 Too many requests (more than 120 per minute from one address)

To try it out, for example from a laptop:

Terminal window
curl -X POST "https://<your Samado app>/api/terminal/clock" \
-H "X-API-Key: smd_t_..." \
-H "Content-Type: application/json" \
-d '{"chip_code": "04A1B2C3"}'

Delete the device’s key in the list. From then on nobody can clock with it. Create a new key for the new device.

Every terminal punch appears in the audit log with the terminal’s name. Creating and deleting keys is logged too.