mcpField
E
esimaccess-api

esimaccess-api

github.com/esimaccessOther390 installsUpdated 28w ago
Repository

About esimaccess-api

eSIM Access API Skill guides an agent through eSIM account, package, order, and profile operations using the eSIM Access API. It covers both read-only checks and state-changing workflows, including cancellation and reissue.

Key features

  1. 01Checks balance, regions, packages, and usage
  2. 02Creates orders and applies top-ups
  3. 03Checks order and eSIM profile status
  4. 04Manages cancellation, suspension, and revocation
  5. 05Configures webhooks and sends SMS

Use cases

  1. 01Checking available plans for a destination
  2. 02Ordering an eSIM and tracking its ICCID
  3. 03Adding data to an eligible eSIM
  4. 04Canceling an unused eSIM and ordering a replacement

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/esimaccess/esimaccess-api --skill esimaccess-api

After installing, type/esimaccess-apiin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

README.md
LICENSE
references/
api-reference.md
scripts/
test-esim-api.mjs

Details

From the project README

eSIM Access API Skill

Interact with the eSIM Access API for complete eSIM lifecycle management.

When to Use This Skill

Use this skill when the user:

  • Asks about eSIM operations: ordering, top-ups, cancellations, status checks
  • Mentions ICCID, order number, QR code, or data usage
  • Wants to check account balance or list available data packages
  • Asks about roaming, travel data plans, or mobile connectivity
  • Needs to manage eSIM profiles (suspend, unsuspend, revoke)
  • Wants to configure webhooks for eSIM status notifications
  • Asks to cancel and reissue an eSIM (refund/replace workflow)
  • References the eSIM Access API or api.esimaccess.com
Example prompts
  • "Check my eSIM Access balance"
  • "What packages are available for Japan?"
  • "Order a 5GB plan for the US"
  • "Check the status of order B26041021130002"
  • "How much data has ICCID 89852240810733629810 used?"
  • "Top up my eSIM with another 5GB"
  • "Cancel this unused eSIM and get a refund"
  • "Set up a webhook for order notifications"

Quick Reference

  • Base URL: https://api.esimaccess.com/api/v1/open
  • Auth: HMAC-SHA256 signed headers — the accessCode is used as both the API identifier and signing key (see references/api-reference.md)
  • Prices: API values / 10,000 = USD (e.g., 18000 = $1.80)
  • Volumes: Bytes (1073741824 = 1 GB)
  • Credentials: Get your accessCode from https://console.esimaccess.com/developer/index

Operations

Read (safe)
OperationEndpointPurpose
check_balance/balance/queryAccount balance in USD
list_regions/package/listAll supported countries
list_packages/package/listProducts by country/code
list_topup_packages/package/listTop-up options for ICCID
check_order_status/esim/queryOrder details + ICCID
check_esim_status/esim/queryFull eSIM profile info
check_data_usage/esim/usage/queryData consumption stats
query_webhook/webhook/queryCurrent webhook config
Write (costs money or modifies state)
OperationEndpointPurpose
create_order/esim/orderPurchase new eSIM
apply_topup/esim/topupAdd data to existing eSIM
cancel_esim/esim/cancelCancel unused eSIM (refund)
suspend_profile/esim/suspendTemporarily disable
unsuspend_profile/esim/unsuspendRe-enable suspended
revoke_profile/esim/revokePermanently disable (no refund)
send_sms/esim/sendSmsSend SMS to eSIM
setup_webhook/webhook/saveConfigure notification URL
Composite Workflows
OperationPurpose
refund_and_reissueCancel unused eSIM, verify refund, order replacement with same package

Key Rules

  1. Order flow: create_order returns orderNo. Poll check_order_status every 3s (4 retries) for ICCID. ORDER_STATUS webhook is fallback.
  2. Top-ups: Use esimTranNo (not ICCID). supportTopUpType === 2 means eligible. Cannot top up after expiry.
  3. Cancel vs Revoke: Cancel works on unused eSIMs (RELEASED/GOT_RESOURCE) and provides refund. Revoke works on activated eSIMs with no refund.
  4. Usage query: Requires esimTranNo, not ICCID. Do an ICCID lookup via /esim/query first if needed.
  5. SMS: Uses message field (not content). Only works on activated eSIMs.

Authentication in Any Language

The references/api-reference.md file contains HMAC-SHA256 auth examples in both Node.js and Python. Ask your AI to generate auth code in your preferred language using the signature algorithm documented there.

Testing

node scripts/test-esim-api.mjs <accessCode>

Installation

Any AI agent (via Skills CLI)
npx skills add esimaccess/esimaccess-api
Manual install

Download from https://app.esimaccess.com/public/skill/ and place in your agent's skills directory.

Files

FilePurpose
SKILL.mdThis file - skill definition
scripts/test-esim-api.mjs15 end-to-end API tests
references/api-reference.mdFull API docs: endpoints, auth, status states, webhooks, error codes

Comments

Markdown supported