API docs

Me

GET /v1/me tells you which key you're using and what it can do. It needs no permission, so it's the right first call when you set up an integration, and a cheap health check.

curl https://app.ironregister.com/api/v1/me -H "Authorization: Bearer $KEY"
{
  "status": "ok",
  "data": {
    "object": "api_key",
    "id": 12,
    "name": "Flxpoint",
    "key": "ir_live_4Tq9…Xa2P",
    "environment": "live",
    "scopes": { "products": "write", "inventory": "write", "customers": "read", "customer_dob": "none", "orders": "write", "returns": "read", "purchase_orders": "read", "gift_certificates": "none", "coupons": "none", "locations": "read", "range": "none" },
    "location_ids": null,
    "expires_at": null,
    "shop": { "id": 117, "name": "Demo Armory", "slug": "demo-armory", "plan": "enterprise" },
    "rate_limit": { "per_minute": 600, "per_day": null },
    "api_version": "2026-09-24",
    "addons": ["range"],
    "catalog": { "resources": [ "…" ], "events": [ "…" ], "presets": { "…": "…" } }
  }
}
Field Meaning
environment live or sandbox
scopes The key's permission grid (see Permissions)
location_ids The location ids the key is limited to, or null for every location
rate_limit The shop's allowance; per_day: null means no daily cap
addons Add-ons the shop has, e.g. range
catalog Every resource and webhook event, with whether each is available to this shop

When to call it

  • On setup. Call it once when the shop owner pastes a key into your integration. Show them the shop name and the permission grid so they can confirm it is the right key with the right access before you start syncing.
  • Before a sync run. Check scopes and location_ids so your job only asks for what the key can see. Calling an endpoint the key has no permission for returns 403 INSUFFICIENT_SCOPE.
  • As a health check. It needs no permission and does no work, so it is a cheap way to tell a revoked or expired key (401 INVALID_API_KEY), a key sent to the wrong server (401 WRONG_ENVIRONMENT) or a shop whose subscription needs attention (402) apart from a problem in your own code.
  • Before using an add-on. Range endpoints only work for shops with the Range add-on. Look for range in addons before you offer range features.

Errors

/v1/me fails the same way every endpoint does when the key itself is the problem. See Authentication for the checks every request goes through and Conventions for the full error list.

Status Code Meaning
401 INVALID_API_KEY Missing, malformed, unknown, revoked or expired key
401 WRONG_ENVIRONMENT A live key on the sandbox, or a sandbox key on live
403 IP_NOT_ALLOWED The caller's IP isn't in the key's allowlist
402 TRIAL_EXPIRED, BILLING_PAST_DUE, SUBSCRIPTION_CANCELED, PLAN_REQUIRED, RECORDS_ACCESS_ENDED The shop's Iron Register subscription needs attention