Sign in
Send your HidSim email and password once. The token comes back with your user and balance; reuse it on every protected call.
- POST/auth/login
curl -X POST https://a.hidsim.com/auth/login \ -H "Content-Type: application/json" \ -d '{"identifier":"[email protected]","password":"secret-password"}'{ "token": "<jwt>", "user": { "_id": "67af6495fe2a49d3f54db241", "id": "u7f92kq1", "balance": 24.85, "role": "user" }}Send it as Authorization: Bearer on every protected call.