Roamzy Claim API

The Claim API from Roamzy — 3 operation(s) for claim.

GitHub OpenAPI

Operations 3

GET /api/v1/claim/{token} Inspect a claim link before using it #
POST /api/v1/claim/{token}/google Attach an anonymous account to a Google identity #
POST /api/v1/claim/{token}/telegram Attach an anonymous account to a Telegram identity #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/roamzy-io:roamzy-io-claim-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

roamzy-io-claim-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Roamzy Agent Claim API
  version: 1.0.0
  description: Public REST surface for AI agents and 3rd-party integrators. One global eSIM. Per-MB billing. Stablecoin payments in USDT or USDC (no fiat, no cards); the enabled networks are listed by GET /api/v1/payment-options. See https://roamzy.io/llms.txt for human-readable agent guidance.
  contact:
    name: Roamzy support
    url: https://t.me/roamzy_support_bot
    email: support@roamzy.io
  license:
    name: Proprietary
    url: https://roamzy.io/legal/terms
servers:
- url: https://roamzy.io
  description: Production
tags:
- name: Claim
paths:
  /api/v1/claim/{token}:
    get:
      summary: Inspect a claim link before using it
      description: 'Public summary of the anonymous account behind a claim_token: its eSIMs (msisdn, country, status, balance) and which verification factors the claim needs. Never echoes the claim_token. 404 is returned for both unknown and already-used tokens (anti-enumeration).'
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
        example: rc_...
      responses:
        '200':
          description: OK — claim, esims[], verification.required_factors
        '404':
          description: Unknown or already-claimed token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Claim
      operationId: getApiV1ClaimByToken
      x-operation-id-source: derived
  /api/v1/claim/{token}/google:
    post:
      summary: Attach an anonymous account to a Google identity
      description: 'Two factors are required: the claim_token in the path AND the MSISDN of an eSIM on that account. On success a browser session cookie is set and `merge_mode` reports how the account was resolved (promote | absorb-empty | reverse-merge).'
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - id_token
              - msisdn
              properties:
                id_token:
                  type: string
                  description: Google ID token, verified server-side
                msisdn:
                  type: string
                  example: '2040400002'
                  description: Second factor — the eSIM phone number
      responses:
        '200':
          description: Claimed — { ok, user_id, provider, merge_mode, next }
        '400':
          description: Invalid body
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: claim_token + msisdn mismatch, or invalid id_token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Unknown or already-claimed token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: A suspended account already uses this Google identity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Claim
      operationId: postApiV1ClaimByTokenGoogle
      x-operation-id-source: derived
  /api/v1/claim/{token}/telegram:
    post:
      summary: Attach an anonymous account to a Telegram identity
      description: 'Same two-factor rule as the Google variant: claim_token in the path plus the eSIM MSISDN. `payload` is the Telegram Login Widget object, HMAC-verified server-side.'
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - payload
              - msisdn
              properties:
                payload:
                  type: object
                  description: Telegram Login Widget payload (id, auth_date, hash, ...)
                msisdn:
                  type: string
                  example: '2040400002'
                  description: Second factor — the eSIM phone number
      responses:
        '200':
          description: Claimed — { ok, user_id, provider, merge_mode, next }
        '400':
          description: Invalid body
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: claim_token + msisdn mismatch, or invalid Telegram payload
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Unknown or already-claimed token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: A suspended account already uses this Telegram identity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Claim
      operationId: postApiV1ClaimByTokenTelegram
      x-operation-id-source: derived
components:
  schemas:
    ErrorResponse:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          example: invalid_token
        detail:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      bearerFormat: rk_live_<base64url>
      description: API token issued in the user dashboard. Format `rk_live_<32-char-base64url>`. Shown once on creation; only SHA-256 hash is stored server-side.