ConnectMeGuru Agentic API

The Agentic API from ConnectMeGuru — 4 operation(s) for agentic.

GitHub OpenAPI

Operations 4

POST /api/agentic/auth/request-otp Request Email Verification OTP (One-Time Setup) #
POST /api/agentic/auth/verify-otp Verify OTP & Issue Machine Personal Access Token (PAT) #
POST /api/agentic/checkout Initiate Autonomous Crypto Checkout (HTTP 402) #
GET /api/agentic/order/{invoiceId} Poll Settlement & Retrieve eSIM Credentials #

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/connectmeguru-com:connectmeguru-com-agentic-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

connectmeguru-com-agentic-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Connectmeguru Com Agentic API
  version: 1.1.0
  contact:
    name: ConnectMeGuru API Support
    url: https://www.connectmeguru.com
    email: support@connectmeguru.com
  description: 'Operations tagged Agentic across 2 of this provider''s published API definitions: connectmeguru-com-agentic-openapi.json, connectmeguru-com-agentic-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://www.connectmeguru.com
  description: Production API Endpoint
tags:
- name: Agentic
paths:
  /api/agentic/auth/request-otp:
    post:
      summary: Request Email Verification OTP (One-Time Setup)
      description: 'Step 1 of Machine Onboarding: Dispatches a 6-digit OTP to the bot owner email. Rejects disposable/burner email providers and validates DNS MX records. Valid for 10 minutes.'
      operationId: requestAgentOtp
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - email
              properties:
                email:
                  type: string
                  format: email
                  description: Real, non-disposable email address of the bot owner or operator.
      responses:
        '200':
          description: OTP code successfully dispatched to the provided email.
        '400':
          description: Invalid email format, disposable email rejected, or unresolvable MX records.
      tags:
      - Agentic
    servers:
    - url: https://www.connectmeguru.com
      description: Production API Endpoint
  /api/agentic/auth/verify-otp:
    post:
      summary: Verify OTP & Issue Machine Personal Access Token (PAT)
      description: 'Step 2 of Machine Onboarding: Exchanges the 6-digit OTP for a permanent machine-to-machine Personal Access Token (PAT). Store this token securely and pass as "Authorization: Bearer " on all subsequent checkouts for 100% autonomous operation.'
      operationId: verifyAgentOtp
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - email
              - otp
              properties:
                email:
                  type: string
                  format: email
                otp:
                  type: string
                  description: 6-digit verification code received by email
                agentName:
                  type: string
                  description: Optional friendly name for this autonomous bot
      responses:
        '200':
          description: Email verified. Permanent Personal Access Token (PAT) returned.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  status:
                    type: string
                    example: VERIFIED
                  token:
                    type: string
                    example: cmg_pat_4f2a9...
                  tokenType:
                    type: string
                    example: Bearer
                  message:
                    type: string
        '400':
          description: Invalid or expired OTP code.
      tags:
      - Agentic
    servers:
    - url: https://www.connectmeguru.com
      description: Production API Endpoint
  /api/agentic/checkout:
    post:
      summary: Initiate Autonomous Crypto Checkout (HTTP 402)
      description: Initiate an autonomous purchase of an eSIM data package. Requires Bearer authentication with a machine Personal Access Token (PAT). Evaluates authoritative tax rules, handles real-time stablecoin conversion (USDC, USDT, or EURC), allocates a collision-free micro-cent spot discount, and responds with HTTP 402 Payment Required containing receiving address, exact token amount, network, contract address, pricing/tax breakdown, and status polling URL.
      operationId: createAgenticCheckout
      security:
      - BearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - packageCode
              properties:
                packageCode:
                  type: string
                  description: The package code of the desired eSIM plan (e.g. "ESIM_JP_7D_1GB").
                customerEmail:
                  type: string
                  format: email
                  description: Optional destination email to deliver the eSIM installation details. Defaults to your authenticated account email.
                preferredNetwork:
                  type: string
                  enum:
                  - BASE
                  - POLYGON
                  - ARBITRUM
                  - TRON
                  default: BASE
                  description: 'Blockchain network preferred for the crypto transfer. (Note: EURC is supported on BASE, POLYGON, and ARBITRUM).'
                preferredCurrency:
                  type: string
                  enum:
                  - USDC
                  - USDT
                  - EURC
                  default: USDC
                  description: Stablecoin token currency (USDC, USDT, or EURC).
                discountCode:
                  type: string
                  description: Optional promotional discount coupon code.
                customerCountry:
                  type: string
                  description: Optional 2-letter country code of customer residence for tax classification.
      responses:
        '400':
          description: Bad Request - input validation failed or order limit exceeded.
        '401':
          description: Unauthorized - Missing or invalid Bearer PAT token. First-time agents must call /api/agentic/auth/request-otp first.
        '402':
          description: HTTP 402 Payment Required. Contains exact cryptocurrency transfer instructions, tax breakdown, and polling URL.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: PAYMENT_REQUIRED
                  invoiceId:
                    type: string
                    example: inv_123456_abcd
                  orderRef:
                    type: string
                  plan:
                    type: object
                    properties:
                      packageCode:
                        type: string
                      name:
                        type: string
                      dataAmountGb:
                        type: number
                      durationDays:
                        type: integer
                      retailPriceUsd:
                        type: number
                  pricing:
                    type: object
                    properties:
                      subtotalUsd:
                        type: number
                      discountAmountUsd:
                        type: number
                      taxLayerEnabled:
                        type: boolean
                      taxLabel:
                        type: string
                        example: VAT
                      taxRatePercent:
                        type: number
                        example: 20
                      taxAmountUsd:
                        type: number
                        example: 2
                      grossTotalUsd:
                        type: number
                        example: 12
                      exchangeRateEur:
                        type: number
                        example: 0.92
                      nominalAmountEur:
                        type: number
                        example: 11.04
                  payment:
                    type: object
                    properties:
                      currency:
                        type: string
                        enum:
                        - USDC
                        - USDT
                        - EURC
                        example: USDC
                      network:
                        type: string
                        example: BASE
                      networkName:
                        type: string
                      contractAddress:
                        type: string
                        description: Smart contract address on selected network
                      receivingAddress:
                        type: string
                        description: Merchant wallet address
                      expectedAmount:
                        type: number
                        description: Exact crypto amount to transfer (including collision-free spot discount)
                      nominalAmount:
                        type: number
                      spotDiscountOffset:
                        type: number
                      baseAmountUsd:
                        type: number
                        description: Underlying gross USD anchor credited to order ledger
                      qrDataUrl:
                        type: string
                      expiresAt:
                        type: integer
                        description: Unix timestamp when this payment quote expires
                      expiresAtIso:
                        type: string
                      pollingUrl:
                        type: string
                        description: URL to poll for payment confirmation and eSIM credentials
                  customer:
                    type: object
                    properties:
                      deliveryEmail:
                        type: string
                      accountEmail:
                        type: string
                      clientIp:
                        type: string
                      detectedCountry:
                        type: string
                  instructions:
                    type: string
        '403':
          description: Forbidden - Agentic purchases are currently disabled by the merchant.
        '503':
          description: Service Unavailable - Crypto payment gateway is inactive.
      tags:
      - Agentic
    servers:
    - url: https://www.connectmeguru.com
      description: Production API Endpoint
  /api/agentic/order/{invoiceId}:
    get:
      summary: Poll Settlement & Retrieve eSIM Credentials
      description: Poll payment confirmation status. Once payment is detected and settled on chain, returns eSIM ICCID, LPA activation string, and QR code URL.
      operationId: getAgenticOrder
      parameters:
      - name: invoiceId
        in: path
        required: true
        schema:
          type: string
        description: Invoice ID returned from /api/agentic/checkout.
      responses:
        '200':
          description: Order status. Returns COMPLETED with eSIM credentials, or PENDING_PAYMENT / PROCESSING.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                    - PENDING_PAYMENT
                    - CONFIRMED_AWAITING_FULFILLMENT
                    - PROCESSING
                    - COMPLETED
                    - FAILED
                    - EXPIRED
                    example: COMPLETED
                  invoiceId:
                    type: string
                  orderId:
                    type: string
                  plan:
                    type: object
                    properties:
                      packageCode:
                        type: string
                      name:
                        type: string
                      dataAmountGb:
                        type: number
                      durationDays:
                        type: integer
                  esim:
                    type: object
                    properties:
                      iccid:
                        type: string
                        description: Unique eSIM ICCID identifier
                      lpaString:
                        type: string
                        example: LPA:1$smdp.example.com$MATCHING_ID
                      qrCodeUrl:
                        type: string
                        description: eSIM profile download QR code URL
                      smdpAddress:
                        type: string
                      matchingId:
                        type: string
                  instructions:
                    type: string
        '404':
          description: Invoice or order not found.
      tags:
      - Agentic
    servers:
    - url: https://www.connectmeguru.com
      description: Production API Endpoint
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: PAT
      description: Machine-to-machine Personal Access Token (PAT) generated via /api/agentic/auth/verify-otp or ConnectMeGuru dashboard profile.
x-refined-from:
- connectmeguru-com-agentic-openapi.json
- connectmeguru-com-agentic-openapi.yml