In this article
Learn how to apply bundles from your inventory to new eSIMs, in the Portal or with the API, so you can issue eSIMs to your customers straight from stock. You'll also learn how to download the QR codes and CSV for them.
Before you start
- You need bundles already in your inventory. See Add a bundle to your inventory.
Option 1: Use the Portal
- Log in to your account. See Log in to your account.
- In the left menu, click Inventory > Bundles. You will see the bundles previously purchased in your inventory.
- Tick the bundle(s) you want to assign to an eSIM, then click Generate eSIMs in the bar at the bottom.
- A success screen opens, as when you order from the Buy page. Download the CSV file with the eSIM information, or the QR code to install the eSIM on a device.
- You can also download the CSV or QR code later from Billing > Transactions. See Order history and downloading QR codes and CSVs.
- The eSIM is ready to be installed. See Installing eSIMs and fixing install issues.
Option 2: Use the API
Use the v2.5 API docs: https://docs.esim-go.com/api/
- Apply the inventory bundle to a new eSIM with POST /esims/apply. Send the bundle name and leave out iccid, and a new eSIM is assigned to you. Use repeat to apply it to several new eSIMs. The bundle must already be in your inventory.
- Monikers are case sensitive.
- Download the QR code and CSV using the order or apply reference. GET /esims/assignments returns the SM-DP+ details for that reference. The default is CSV, and requesting application/zip returns the QR codes as PNG images.
- Use your API key for these requests. See Find, copy and refresh your API key.
Tip: Use the repeat option to issue a batch of eSIMs for a group booking in one API call, then download all the QR codes as a ZIP with the apply reference. It saves time when you're setting up several travellers at once.