Quickstart · about 10 minutes
From sandbox key to a working eSIM
Every request below runs against the sandbox with your sandbox key. Orders paid from your test credit deliver real test eSIMs, so you can install one on a phone.
Get your sandbox key
Sign up and accept the Mutual NDA. Your key appears once on the next page and comes with 20.00 EUR test credit. Keep it on your server: the API is server-to-server and must never be called from a browser or an app.
export GC_KEY='<your sandbox key>'
Check the key and your balance
Your connector, whether it is sandbox or live, and the prepaid balance in EUR and USDT (amounts in minor units: 2000 = 20.00).
curl https://sandbox.globalcell.dev/v1/connector \ -H "Authorization: Bearer $GC_KEY" curl https://sandbox.globalcell.dev/v1/balance \ -H "Authorization: Bearer $GC_KEY"
Find a plan
Destinations, then the plans for one country (ISO code) with your prices. Each plan has a
sku, for exampleromania-5gb-10d.curl https://sandbox.globalcell.dev/v1/destinations \ -H "Authorization: Bearer $GC_KEY" curl "https://sandbox.globalcell.dev/v1/products?country=RO" \ -H "Authorization: Bearer $GC_KEY"
Order a new eSIM
Pay from your prepaid balance: the order is delivered at once, with no payment page. Send an
Idempotency-Keyso a retry never buys twice.curl https://sandbox.globalcell.dev/v1/orders \ -H "Authorization: Bearer $GC_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: first-order-1" \ -d '{"type":"new_esim","sku":"romania-5gb-10d", "currency":"EUR","paymentMethod":"balance"}'To test the flow where your customer pays on a checkout page, use
"paymentMethod":"simulated"and settle it yourself withPOST https://sandbox.globalcell.dev/v1/sandbox/orders/{id}/payand{"outcome":"paid"}(or"failed","expired").Install the eSIM
A fulfilled order carries the install kit: one-tap links for iPhone and Android, a QR code and the manual codes. Show them to your customer, or open a link on a test phone.
curl https://sandbox.globalcell.dev/v1/orders/{id} \ -H "Authorization: Bearer $GC_KEY" curl https://sandbox.globalcell.dev/v1/orders/{id}/qr.svg \ -H "Authorization: Bearer $GC_KEY" -o esim-qr.svgPackage activation on an existing eSIM
Add a data package to an eSIM you sold: same call, type
packageand the eSIM's ICCID. Check usage and connection problems withGET /esims/{iccid}andGET /esims/{iccid}/diagnosis.curl https://sandbox.globalcell.dev/v1/orders \ -H "Authorization: Bearer $GC_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: first-package-1" \ -d '{"type":"package","sku":"romania-5gb-10d", "iccid":"<ICCID>","currency":"EUR","paymentMethod":"balance"}'Go live
Sign the Master Partner Agreement online: the link comes with your sandbox key, or ask us at hello@globalcell.partners. After your first prepaid deposit (EUR or USDT) you get a production key, your own account and your wholesale prices. Production runs on its own host, with the same requests.
Reference
- Every endpoint, field and error: API reference (OpenAPI JSON)
- AI agents: MCP server, with the same key and balance
- Questions: hello@globalcell.partners