eSIM display and tracking
heyatli.com has a page for one eSIM: it installs it, and shows the plans on it with the data and days left. Link the people you sign in to it, with heyatli.com's header and footer or without them, as a page of your own.
What the page shows
Install. A QR code to scan from another device, one-tap install on iPhone and Android, and the codes for setting it up by hand.
Plans and data. With the eSIM's ICCID, the plan in use with the data and days it has left, and the plans waiting to start.
No account. The person opens the link and sees their eSIM. They don't sign in, and nothing needs installing first.

How to open it
The web link opens the page on heyatli.com, in any browser. One address carries everything it needs. Its parts, in order:
https://heyatli.com/ja/my/esim?bare&lpa=TFBBOjEkc21kcC5leGFtcGxlJENPREU&iccid=8910300000070112921
heyatli.com. Atli's site. Switched to Sandbox above, it is staging.heyatli.com, which opens Sandbox eSIMs.
Language (optional). A language code before the path opens the page in that language, as
/jadoes Japanese. Without one, it is in English.The eSIM page. Always
/my/esim.No header or footer (optional).
bareleaves out heyatli.com's header and footer, so the page reads as part of your service. The background and colours stay.bare=0turns it off.Activation code. The eSIM's
qr_string(LPA:1$…$…), written in base64url so its$and:can't break the address. It opens the install screen. Without it, the page asks the person for the code.ICCID (optional). The eSIM's
iccid, as the API gives it. It adds the plans on the eSIM, with the data and days left.
Where the values come from
With a token for the person, signed in with OAuth, GET /esims lists their eSIMs. Each one has its qr_string and iccid.
Right after a purchase, GET /fulfillment/status-updates has the same two for the new eSIM.
const lpa = btoa(esim.qr_string)
.replace(/\+/g, '-')
.replace(/\//g, '_')
.replace(/=+$/, '');
const link = `https://heyatli.com/my/esim?bare`
+ `&lpa=${lpa}&iccid=${esim.iccid}`;Keep the link to its owner
Anyone who has the link can install the eSIM. Send it only to the person it belongs to, somewhere only they read.
heyatli.com keeps the link out of its analytics and error reports, lets no cache keep the page, and doesn't pass its address on to other sites.
