In this article
Learn what a SIM swap is, when to use it and how to swap a UK MVNO SIM in the Portal or with the API, so you can move your customer's number and plans to a new SIM without porting. You'll also learn what to check before you start, how long a swap takes and how to fix a rejected request.
What is a SIM Swap?
A SIM swap moves your customer's phone number (MSISDN) and their active monthly plans and bolt-ons onto a new SIM.
- What stays the same: your customer's phone number, plus their active and queued monthly plans and bolt-ons. You don't need to assign a new plan or port the number.
- What changes: your customer gets a new SIM with new installation details (a QR code and install links for an eSIM). The old SIM is deactivated, removed from your Portal and can't be used again.
Which SIMs can I swap?
SIM swap is available for UK MVNO SIMs. It isn't available for Travel eSIMs.
You can swap in any direction:
| From |
To
|
|---|---|
| eSIM | eSIM |
| eSIM | Physical SIM (pSIM) |
| pSIM | eSIM |
| pSIM | pSIM |
| Tip: If your customer is just moving their eSIM to a new phone and still has the old one, ask them to uninstall it and download it again on the new phone. It's quicker than a SIM swap. |
When should I use a SIM Swap?
- Your customer's SIM or phone has been lost or stolen.
- Your customer's SIM is damaged.
- Your customer wants to move from a physical SIM to an eSIM, or from an eSIM to a physical SIM.
What do I need to check before I start?
Check these four things. They're the most common reasons a swap is turned down.
- The current line is live. The current SIM must have connected to the network at least once. A SIM that has never been used can't be swapped.
- Nothing else is in progress. Wait for any number port or earlier SIM swap on the same line to finish first.
- The new SIM is unused. A new physical SIM must come from your own stock, be idle (never activated and never had a plan) and not be suspended. For a new eSIM in the Portal, a new eSIM is generated from the eSIM Go pool and assigned to your account. For a new eSIM with the API, you pre-order an eSIM with no plan attached first (see "How do I swap a SIM with the API?").
- You're sure. A swap can't be undone. The old SIM is permanently retired, so going back means another swap to another unused SIM.
Note: the number printed on a physical SIM is its ICCID without the 89441 prefix. Add 89441 to the front when you enter it.
| Tip: Keep a few idle physical SIMs in stock. When a customer loses their phone or SIM, you can swap them onto a SIM you already have straight away, instead of leaving them without service while a replacement is sent. |
How do I swap a SIM in the Portal?
- Find your customer's current SIM in the Portal and open its eSIM view.
- Select Swap SIM.
- Choose what the new SIM will be:
- eSIM: pick the branding profile for the new eSIM. It can differ from the old one. The Portal orders the eSIM and starts the swap in one go.
-
pSIM: enter the new SIM's ICCID. A physical SIM keeps the branding it already has.
- Check the details and confirm.
- For an eSIM, share the new QR code with your customer so they can install it. For a pSIM, send or hand them the new SIM.
The swap now shows as in progress on the eSIM view. It completes on its own.
How do I swap a SIM with the API?
You swap a SIM with one call to POST /esims/{iccid}/swap. The difference from the Portal is for eSIMs: with the API, you pre-order the new eSIM first, then swap to it.
SIM swap uses API v2.5 at https://domestic-uk.api.esim-go.com/v2.5, with your usual API key in the X-API-Key header. Full details are in the UK MVNO API docs: https://domestic-uk.docs.esim-go.com/api/v2_5/.
Swap to a physical SIM
- Call POST /esims/{iccid}/swap, where {iccid} is your customer's current SIM. Put the new SIM's ICCID in the body:
POST /v2.5/esims/89441000305002052069/swap
{ "iccid": "89441000305002052077" }
- A 202 Accepted response means the swap has started. Don't send the request again, even if the response was slow.
- Send or hand your customer the new SIM. It connects once the swap completes.
Swap to a new eSIM
- Pre-order an eSIM with no plan attached using POST /orders/esims. This charges the one-time eSIM activation fee. Add branding_id to choose an approved branding profile, or leave it out to use your default branding. The response includes the new eSIM's iccid, smdpAddress and matchingId.
- Call POST /esims/{iccid}/swap with your customer's current ICCID in the path and the new eSIM's ICCID in the body. A 202 Accepted response means the swap has started.
- Share the eSIM with your customer as a QR code or with your usual install links. It connects once the swap completes.
Does a SIM swap cost anything?
Pre-ordering a new eSIM with the API charges the one-time eSIM activation fee. Fees are in your price list.
How long does a SIM swap take?
Most swaps complete in around 45 minutes. Some take up to 5 hours. The new SIM doesn't connect straight away.
Tip: Tell your customer about the wait when you hand over the new SIM or QR code. A customer who knows the new SIM can take up to 5 hours to connect is far less likely to contact you thinking it's faulty, which saves you a support contact.
What happens after the swap?
- What your customer does: for a new eSIM, they install it from the QR code or another installation method. For a pSIM, they insert it into their device. It starts working once the swap completes.
- What you see: the swap status shows on the eSIM view in your Portal. When the swap completes, the line moves to the new SIM, and the old SIM is deactivated and removed from your Portal.
- Branding: a new eSIM uses the branding profile you chose during the swap. A physical SIM keeps the branding it already has.
How do I know when a swap has finished?
You receive two notifications for every swap, at the callback URL set in your Portal under API Details.
| Notification |
When it's sent
|
|---|---|
| SimSwapStarted | The swap has started |
| SimSwapCompleted | The swap has completed and the line is on the new SIM |
In the completed notification, iccid is the new SIM, swap.type shows the direction (for example PSIM_TO_ESIM) and swap.id matches the swap you requested.
You can also check a swap at any time with GET /esims/{iccid}/swap, using either the old or the new ICCID. The status is IN_PROGRESS, COMPLETED, REJECTED or FAILED.
| Tip: Use the SimSwapCompleted notification to tell your customer the moment their new SIM is ready. An automatic "your new SIM is now active" message stops them guessing when to try it, and cuts the "my new SIM isn't working" contacts during the wait. |
Troubleshooting
Why was my swap request turned down?
Any response other than 202 means no swap was created and the line is unchanged. The most common reasons:
| Code | Message |
What to do
|
|---|---|---|
| 404 | New SIM not found | Check the ICCID, and that the SIM belongs to your organisation. |
| 409 | A SIM swap is already in progress for this MSISDN or for the new SIM | Wait for the first swap to finish. |
| 409 | A porting request is in progress for this MSISDN | Wait for the port to finish. |
| 422 | The new SIM has already been used | Use a SIM that has never had a plan. |
| 422 | The line has no active plan on the network | Make sure the line has an active monthly plan. |
| 503 | The network could not take the SIM swap | Nothing changed. Try again later. |
If the swap still won't go through after these checks, raise a support request via the Portal.