interact XR

interact XR connects physical objects to data with smart stickers (QR and NFC). A sticker is linked to an object (a device, a location, a touchpoint); scanning it opens the object's page, inspectors record checks, defects become issues. Everything is available from the terminal, over a REST API, through webhooks and as an MCP server for agents.

Base URL: https://app.interactxr.app

Connect a project (instructions for agents)

A user who asks you to connect their project to interact XR wants a working setup, not a list of commands. Use only what this file documents.

If you can run shell commands in the project (Claude Code, Cursor, Codex …):

  1. Run npx -y https://app.interactxr.app/cli.tgz login. It prints a code and a link; wait while the user confirms it in the browser.
  2. Run npx -y https://app.interactxr.app/cli.tgz init. It writes INTERACTXR_API_KEY and INTERACTXR_URL to ./.env. Make sure .env is git-ignored.
  3. Run whoami --json and objects list --json to see the organization, its quota and what already exists.
  4. Read the codebase and propose three concrete integrations that fit it, each with the commands or endpoints it needs. Ask which one to build.

If you cannot run commands (a chat without a terminal): say so in one sentence and do not hand the steps back as a list. Ask what the user wants to tag and what a scan should trigger. Then guide them one command at a time and wait for each output. Never ask for the API key. If the client supports remote MCP servers (connectors), that is the better way: tell the user to add https://app.interactxr.app/api/v1/mcp as a connector and sign in in the browser – after that you can act yourself instead of guiding.

Concepts

Command line

Requires Node 18+. No installation needed:

npx -y https://app.interactxr.app/cli.tgz login      # shows a code, an admin confirms it in the browser
npx -y https://app.interactxr.app/cli.tgz init       # writes INTERACTXR_API_KEY and INTERACTXR_URL to ./.env
npx -y https://app.interactxr.app/cli.tgz whoami

Commands: objects list [--q text], objects create --name N [--type T] [--ref R] [--serial S] [--address A] [--sticker CODE], objects import file.csv (columns name,type,ref,serial,address,sticker), stickers get CODE, stickers link CODE --object <id|ref|name>, stickers void CODE --reason "…", scans list, scans tail, destinations list.

Every command accepts --json. Errors exit non-zero and print {"error":{"code","message"}}. INTERACTXR_API_KEY and INTERACTXR_URL override the stored login, so the CLI works in CI and inside agents without login.

REST API

https://app.interactxr.app/api/v1, authenticated with Authorization: Bearer <API key>. Keys are created by login or under Settings → API keys. Full description: https://app.interactxr.app/openapi.yaml

Errors: { "error": { "code": "…", "message": "…" } } with status 400 (invalid_request), 401, 403, 404, 409 (invalid_state), 422 (business rule, e.g. quota_exceeded), 429 (rate_limited, see Retry-After).

MCP server (for agents)

Streamable HTTP endpoint: https://app.interactxr.app/api/v1/mcp.

Two ways to sign in:

Claude Code, in the browser:

claude mcp add --transport http interactxr https://app.interactxr.app/api/v1/mcp

Claude Code, with a key:

claude mcp add --transport http interactxr https://app.interactxr.app/api/v1/mcp --header "Authorization: Bearer $INTERACTXR_API_KEY"

Tools: whoami, list_objects, create_object, get_sticker, link_sticker, list_scans, report_inspection, list_issues, create_issue.

Webhooks

Under Automations, add the action "Send webhook" to a trigger: defect_reported, inspection_passed, issue_created, issue_done, sticker_linked. The platform POSTs JSON:

{ "id": "evt_…", "event": "defect_reported", "createdAt": "…", "organizationId": "…",
  "data": { "automation", "object", "objectId", "note", "issue", "sticker", "by", "url" } }

Verify the header InteractXR-Signature: t=<unix>,v1=<hex>: v1 is HMAC-SHA256 of <t>.<raw body> with the webhook's signing secret (shown in the automation after saving). Reject timestamps older than five minutes. Respond with 2xx within five seconds; the target must be a public https address.

Knowledge base (website)

Explanations of the terms and practical questions around smart labels, NFC and QR codes, each page in English and German:

Plain text: https://app.interactxr.app/llms.txt