In this article
Learn how a number is ported in to or out of eSIM Go, so you know which API endpoints and webhooks to use at each step. You'll also learn what your customer does and what the sequence diagrams show.
Before you start
- PAC (Porting Authorisation Code) and STAC (Service Termination Authorisation Code) are requested by your customer from their current provider. The provider losing the number is the DSP (Donor Service Provider), and the provider gaining it is the RSP (Recipient Service Provider).
- Ports complete by 16:00 UK time. If a port has not completed after that, contact support. See Porting process timeline.
The process for your customer
- Your customer requests a PAC/STAC code from their DSP by SMS, web or phone.
- Your customer gives you the PAC/STAC code and their MSISDN during activation or onboarding.
- You send your customer the porting day details. They may notice some disruption to service in the porting window. See Service issues on porting day.
- You tell your customer once porting is complete.
Your customer can cancel porting before it is locked at 08:00 on porting day. Ask them to tell you as soon as possible. Ports then complete by 16:00 UK time.
Endpoints and webhooks
Subscriber SMS requests are received by eSIM Go. As an API partner, you are notified by the "porting requested" webhook and are expected to take the necessary steps. See Customer porting request process.
Purpose |
Endpoint or webhook |
|---|---|
Port a number out |
Port a number out (esimsiccidportingout), https://domestic-uk.docs.esim-go.com/api/v2_5/operations/esimsiccidportingout/post/ |
Port a number in |
Port a number in (esimsiccidportingin), https://domestic-uk.docs.esim-go.com/api/v2_5/operations/esimsiccidportingin/post/ |
Porting requested (via SMS) |
https://domestic-uk.docs.esim-go.com/api/notifications/operations/portingrequestedviasms/post/ |
Porting started |
https://domestic-uk.docs.esim-go.com/api/notifications/operations/portingstarted/post/ |
Porting completed |
https://domestic-uk.docs.esim-go.com/api/notifications/operations/portingcompleted/post/ |
Porting out auth code requested; Porting in scheduled |
Webhooks shown in the diagrams. Details: https://domestic-uk.docs.esim-go.com/api/v2_5/ |
Updates are provided by the "porting started" and "porting completed" webhooks.
Tip: Use the porting started and porting completed webhooks to trigger your messages to your customer. Confirming each stage as it happens stops customers wondering where their number is and contacting you.
Porting out: PAC request by SMS
Porting out: PAC request by SMS
Actors: Mobile Subscriber, Mobile Operator, eSIM Go, API partner, UK MNP DB.
- The subscriber sends a PAC request by SMS to the operator. The operator notifies eSIM Go, and eSIM Go sends you the "Porting requested via SMS" webhook.
- You confirm, reject or ask the subscriber for more information (if required), then call the Port a number out API. If the request fails, see PAC/STAC API request failed.
- eSIM Go requests the PAC from the UK MNP DB and sends the "Porting out auth code requested" webhook.
- The UK MNP DB sends or rejects the PAC. eSIM Go returns the Port a number out API response.
- You send the PAC to the subscriber with the "Send SMS to eSIM" API, and the message reaches the subscriber by SMS. See Send SMS to eSIM in the UK MVNO API docs: https://domestic-uk.docs.esim-go.com/api/v2_5/.
- You receive the "porting started" webhook, then the "porting completed" webhook.
Porting in: PAC submission
Porting in: PAC submission
- The subscriber starts with a valid PAC and gives you the PAC and MSISDN.
- You send the PAC, MSISDN and optionally a date through the Port a number in API.
- eSIM Go submits the PAC, MSISDN and date to the UK MNP DB, which confirms or rejects the port date.
- The Port a number in response returns the confirmed date or the rejection, and eSIM Go sends the "Porting in scheduled" webhook.
- When the DB sends its porting started notification, you receive the "Porting started" webhook. When it sends porting complete, you receive "Porting completed". Confirm each stage to the subscriber.
Other diagrams
Sequence diagrams also exist for port out by PAC (other channels), STAC (SMS and other), INFO (SMS and other), EMAIL SMS and POST SMS, and for port in by STAC submission.
INFO is a request for porting information. EMAIL and POST mean your customer asked for it by email or post, and you send it by that method. The request type is in the type field of the Porting requested (via SMS) webhook.
Porting out: PAC request by other means
Porting out: STAC request by SMS
Porting out: STAC request by other means
Porting out: INFO request by SMS
Porting out: INFO request by other means
Porting out: EMAIL request by SMS
Porting out: POST request by SMS
Porting in: STAC submission