Skip to content
GUIDE0% read

Gateway Registration

Gateways self-register with JKBMSR Cloud after they join Wi‑Fi. Owners then claim the gateway with a short claim code (label, serial log, or onboard deep link).

Gateway self-register

text
POST /api/v1/device/register

The gateway sends its device ID, hardware ID, firmware version, and (on 0.1.4+) a claim code. The cloud stores a hash of the claim code and returns gateway tokens plus config.

Owner claim

text
POST /api/v1/user/devices/claim

Authenticated customer request:

json
{
  "deviceId": "…",
  "claimCode": "ABCD-EFGH"
}
  • Prefer claimCode for all current firmware.
  • Legacy deviceSecret is accepted only for gateways registered before claim codes existed.
  • If email verification is enabled, the account must be verified first (403 otherwise).
  • Claiming before the gateway finishes register returns 401 — retry after Wi‑Fi/register completes.

Browser path: flash → Improv → app.jkbmsr.com/onboard?device=…&code=….

See First gateway setup and Claim and onboard issues.

One JKBMSR domain. Every guide, right where you need it.