Get the setup data of a booking
Get the original order of an eSIM booking: the eSIM with its activation data and the installation steps as HTML, to build your own confirmation or setup page.
/api/v1/esims/bookings/{booking_id}/setup-instructionsUse the booking_id of the order (FX- followed by a number). It works for orders only: a topup booking has no setup data. The activation data is sensitive: show it only to the traveler who owns the eSIM.
This endpoint replaces the older GET /, which is deprecated: it answers with the install links only and a deprecated_endpoint warning.
curl https://api.fx-port.com/api/v1/esims/bookings/FX-1793546602916/setup-instructions \
-H "Authorization: Bearer fxp_test_YOUR_KEY"{
"environment": "sandbox",
"success": true,
"data": {
"code": "20261101-106852",
"order_id": "20261101-106852",
"currency": "DZD",
"package_id": "france-in-7days-1gb",
"quantity": 1,
"type": "sim",
"description": "Order for John Smith",
"esim_type": "local",
"validity": 7,
"package": "KPN France Data only-1 GB - 7 days",
"data": "1 GB",
"price": 468.84,
"created_at": "2026-11-01 15:23:22",
"manual_installation": "<p><b>eSIM name:</b> Élan</p><p><b>Coverage: </b>France</p><p><b>To manually activate the eSIM on your eSIM capable device:</b></p><ol><li>Settings > Cellular/Mobile > Add Cellular/Mobile Plan.</li>...</ol>",
"qrcode_installation": "<p><b>eSIM name:</b> Élan</p><p><b>Coverage: </b>France</p><p><b>To activate the eSIM by scanning the QR code on your eSIM capable device you need to print or display this QR code on another device:</b></p>...",
"installation_guides": {
"en": "https://www.airalo.com/help/getting-started-with-airalo"
},
"text": null,
"voice": null,
"sims": [
{
"created_at": "2026-11-01 15:23:22",
"iccid": "8900000540463077957",
"lpa": "lpa.airalo.com",
"imsis": null,
"qrcode": "LPA:1$lpa.airalo.com$DUMMY-2610301358-iKFxr-44741",
"qrcode_url": "https://sandbox.airalo.com/qr?expires=1879860202&id=473564&signature=...",
"apn_type": "automatic",
"apn_value": "N/A",
"is_roaming": true,
"confirmation_code": null,
"apn": {
"ios": {
"apn_type": "automatic",
"apn_value": "N/A"
},
"android": {
"apn_type": "automatic",
"apn_value": "N/A"
}
},
"msisdn": null,
"direct_apple_installation_url": "https://esimsetup.apple.com/esim_qrcode_provisioning?carddata=LPA:1$lpa.airalo.com$DUMMY-2610301358-iKFxr-44741",
"direct_android_installation_url": "https://esimsetup.android.com/esim_qrcode_provisioning?carddata=LPA:1$lpa.airalo.com$DUMMY-2610301358-iKFxr-44741",
"sharing": {
"access_code": 8803,
"link": "https://esims.cloud/v8hy7-usgkq6wg"
}
}
],
"total_price": 468.84,
"retail_price": 468.84,
"agency_currency": "DZD"
}
}Request
Path parameters
booking_idstringrequiredThe booking reference returned when the eSIM was ordered.
At most 100 characters.
Response
200The setup data of the booking.
successbooleantrue when the data was returned.
dataobjectThe original order of a booking: the eSIM with its activation data and the installation steps.
ShowHide 22 attributes
codestringdeprecatedLegacy name, still accepted. Use order_id instead.
The supplier's order code. The older name of order_id: same value, use order_id.
order_idstringThe supplier's order code. The snake_case twin of code, with the same value: use this name.
currencystringCurrency of price: your agency currency.
package_idstringThe package that was ordered.
quantityintegerAlways 1.
typestringAlways sim.
descriptionstringnullableThe description of the order.
esim_typestringKind of eSIM plan, for example local.
validityintegerValidity in days.
packagestringName of the package: operator, data allowance and validity.
datastringData allowance as text.
pricenumberThe price charged to the traveler, in your agency currency. Same as total_price.
created_atstringWhen the supplier created the order: YYYY-MM-DD HH:MM:SS, UTC, without a zone.
manual_installationstringHTML with the steps to install the eSIM by entering the activation data by hand. Show it as HTML or strip the tags.
qrcode_installationstringHTML with the steps to install the eSIM by scanning the QR code.
installation_guidesobjectLinks to the supplier's general installation guide, by language code.
textintegernullableSMS included, or null.
voiceintegernullableVoice minutes included, or null.
simsarray of objectThe eSIMs of the order. One for an eSIM order.
ShowHide 15 attributes
created_atstringnullableWhen the supplier created the eSIM: YYYY-MM-DD HH:MM:SS, UTC, without a zone.
iccidstringThe ICCID of the eSIM.
lpastringnullableHost of the SM-DP+ server (the LPA address).
imsisstringnullableIMSI of the profile, when the supplier returns it.
qrcodestringnullableThe activation string the QR code encodes. Sensitive: show it only to the traveler.
qrcode_urlstringnullableLink to the QR code image.
apn_typestringnullableautomatic or manual.
apn_valuestringnullableThe APN to enter on a manual setup, or N/.
is_roamingbooleannullableWhether the eSIM works through roaming.
confirmation_codestringnullableConfirmation code to enter at installation, when required.
apnobjectnullableAPN settings per operating system.
ShowHide 2 attributes
iosobjectAccess point name (APN) settings for one operating system.
ShowHide 2 attributes
apn_typestringautomatic when the device configures the access point name by itself, manual when the traveler has to enter it.
apn_valuestringnullableThe access point name to enter on a manual setup; null or N/ when none is needed.
androidobjectAccess point name (APN) settings for one operating system.
ShowHide 2 attributes
apn_typestringautomatic when the device configures the access point name by itself, manual when the traveler has to enter it.
apn_valuestringnullableThe access point name to enter on a manual setup; null or N/ when none is needed.
msisdnstringnullablePhone number of the eSIM, for the rare plans that include one.
direct_apple_installation_urlstringnullableLink that starts the installation on an iPhone.
direct_android_installation_urlstringnullableLink that starts the installation on an Android phone that supports it.
sharingobjectnullableA shareable installation page for the eSIM.
ShowHide 2 attributes
access_codenumberCode the traveler enters on the sharing page.
linkstringPage where the traveler can open the eSIM details and QR code.
total_pricenumberThe price to charge the traveler, in your agency currency.
retail_pricenumberThe price to charge the traveler, in your agency currency. Another name of total_price, with the same value.
agency_currencystringSame as currency.
Errors
| Status | Code | Example message |
|---|---|---|
| 400 | invalid_booking_id | booking_id is not a valid booking reference (received '!'). |
| 404 | booking_not_found | No eSIM booking was found for this booking_id. |
| 404 | not_found | Setup data not available for this booking |
The shape of the error body depends on the endpoint. See Errors for every shape and code.