Create anonymous user + API token (no signup required) — mig 0046

Agent-first flow: client gets a Bearer api_token and a one-time claim_token without prior OAuth. Tighter limits ($40/day, $100/mo, $50 big-txn, 1 active eSIM) until the user attaches this anon account to a real Google/Telegram/email identity via the claim_url. Rate-limited 5/IP/day + 1/IP/min.

post/api/v1/anon-session

Request

  • Base URL: https://roamzy.io
  • URL: https://roamzy.io/api/v1/anon-session
  • Auth: none declared

Request body

user_agent_hintstring

Optional free-form client hint (e.g. "claude-desktop"). Logged for telemetry.

refstring

Optional referral code. Attributes the new account to that referrer (first-touch, self-referral blocked); the referrer then earns a percentage of this account's cash payments. Agents get their own code from GET /api/v1/referral.

Example request

{
  "ref": "a1b2c3d4"
}

Response

Anonymous session created. SAVE api_token and claim_url — they cannot be retrieved later.

user_idstring
api_tokenstring

Bearer token (rk_live_<32-char>). SHOWN ONCE.

claim_tokenstring

Magic-link claim secret (rc_<32-char>). SHOWN ONCE.

claim_urlstring uri

URL to surface to the user for permanent-account attachment.

claim_expires_atstring nullable

NULL — claim tokens never auto-expire (operator-approved 2026-05-20).

hintstring

Example response

{
  "limits": {
    "daily_usdt": 40,
    "monthly_usdt": 100,
    "cool_off_usdt": 40,
    "big_txn_usdt": 50,
    "max_active_esims": 1
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.