Org keys for fleets of devices and agents.
Wire a single org-level key into your stack. Agents register themselves, you enforce device limits by plan, and we keep the bookkeeping in one place.
POST /api/v1/devices/register
·
plan limits enforced on every call
/devices/register.
Every time your agent calls /devices/register or /devices/validate,
we look up the org's plan and device count. If they're at the cap, new devices are blocked
until they upgrade or revoke something.
You can treat an org key as a customer, a project, or an environment. Most teams wire a single org key into a cluster of services and let agents register themselves from wherever they run.
// agent-config.json
{
"machineIdOrgKey": "org_your_key_here",
"agentId": "agent-01",
"registerUrl": "https://machineid.io/api/v1/devices/register",
"validateUrl": "https://machineid.io/api/v1/devices/validate"
}
The API is intentionally small: create an org, register devices, validate devices, and list them. You can explore all endpoints, status codes, and examples in the docs.