Retrieve device list and blueprint assignment via Iru (Kandji) API

domain: api-docs.kandji.io · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Generate an API token in the Iru (formerly Kandji) admin console under Settings > Access; note your subdomain for the API base URL
  2. Construct the base URL: https://{subdomain}.api.kandji.io for US tenants or https://{subdomain}.api.eu.kandji.io for EU tenants
  3. Send GET https://{base_url}/api/v1/devices with Authorization: Bearer YOUR_TOKEN to list all devices; paginate using the limit and offset query parameters
  4. Each device record includes device_id, blueprint_id, serial_number, and asset_tag fields
  5. To reassign a device to a different blueprint, PATCH https://{base_url}/api/v1/devices/{device_id} with a JSON body containing the new blueprint_id
  6. Verify the change by re-fetching the device record and confirming the blueprint_id field matches the intended blueprint

Known gotchas

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans