Skip to content

Quickstart

This gets you from zero to a provisioned test eSIM in under five minutes. Everything here runs against the sandbox on a mock network — no real spend, no Vodafone, no NDA.

  1. Get a sandbox key.

    Grab a free sandbox key from the signup page. It looks like ig_test_… and only ever touches the sandbox. Export it:

    Terminal window
    export IG_KEY="ig_test_your_key_here"
  2. Make your first call.

    Confirm the key works and see who you are. The sandbox base URL is https://api.sandbox.interglobe.io/v1.

    Terminal window
    curl https://api.sandbox.interglobe.io/v1/me \
    -H "Authorization: Bearer $IG_KEY"
  3. Provision a test eSIM.

    Pick a product from the catalog, then provision. Provisioning is asynchronous — you get an execution id back and an esim.provisioned webhook when it’s ready.

    Terminal window
    # List available sandbox products
    curl https://api.sandbox.interglobe.io/v1/products \
    -H "Authorization: Bearer $IG_KEY"
    # Provision one (async saga → returns 202 + an execution id)
    curl -X POST https://api.sandbox.interglobe.io/v1/esims \
    -H "Authorization: Bearer $IG_KEY" \
    -H "Content-Type: application/json" \
    -H "Idempotency-Key: $(uuidgen)" \
    -d '{ "product_id": "prod_eu_5gb" }'
  4. Get the install (QR).

    Once provisioned, fetch the install profile — the LPA string / QR your end user scans to install the eSIM.

    Terminal window
    curl https://api.sandbox.interglobe.io/v1/esims/{iccid}/install \
    -H "Authorization: Bearer $IG_KEY"
  • Explore every endpoint in the API Reference (with a live “try it” console).
  • Set up signed webhooks to receive esim.* and bundle.* events.
  • Drive test scenarios — deplete a bundle, fail an activation, fast‑forward expiry.