Porting
List all port-ins
Returns a paginated list of the port-ins of all your eSIMs, newest first.
/port-insAuthorization
Authorization: Bearer {token} — an OAuth2 access token from the client-credentials flow. How authentication works
Query parameters
statusarray of PortInStatusComma-separated port-in statuses: only port-ins in one of them. Omit for every status.
requestedapprovedcancellingcompletedrejectedfailedcancelledabandonedbooleanfalse for only the port-ins not abandoned, true for only the abandoned ones. Omit for both.
limitintegerMaximum number of items to return (1-100)
20cursorstringCursor for the next page. Pass the nextCursor value from a previous response.
Responses
200Your port-insapplication/jsonShow response bodyHide response body
dataarray of PortInPort-ins, newest first
Show propertiesHide properties
portInRequestReferencestringPort-in request reference
profileReferencestringesimReferencestringThe eSIM this port-in belongs to
msisdnstringThe number being ported, in international format (E.164 without a leading +)
detailsone of Donor SIM or account | Account or SMS codeDonor details of the number to port. Their shape is the one the selected eSIM's variant takes: proof by the donor SIM, or by the customer's account number with SMS confirmation without one. Unknown fields are rejected.
Show propertiesHide properties
Donor SIM or accountobjectoptionalDonor details proven by the donor SIM or the account. A prepaid contract takes donorIccid and/or donorSimNumber; a postpaid contract any of donorIccid, donorSimNumber and donorAccountNumber; a business contract donorAccountNumber only.
Show propertiesHide properties
donorContractTypestringContract type of the number at the donor operator
prepaidpostpaidbusinessdonorIccidstringoptionalICCID of the donor SIM card, with a valid check digit. The preferred proof of a donor SIM: most donor operators accept it.
donorSimNumberstringoptionalThe number printed on the donor SIM card. Send it only when the donor SIM's ICCID is not available; donorIccid is accepted by more donor operators.
donorAccountNumberstringoptionalAccount/customer number at the donor operator
Account or SMS codeobjectoptionalDonor details proven by the account, or by SMS without one. A postpaid contract requires donorAccountNumber and donorContractAction; a prepaid one refuses donorContractAction. Without donorAccountNumber, the customer confirms the port-in with a code sent by SMS to the number being ported. The request stays requested until they do; an unconfirmed code expires after 24 hours and the port-in is rejected.
Show propertiesHide properties
donorContractTypestringContract type of the number at the donor operator
prepaidpostpaiddonorAccountNumberstringoptionalCustomer number at the donor operator
donorContractActionstringoptionalExtensible enum. What happens to the customer's contract at the donor operator. Required for a postpaid contract and refused for a prepaid one, which has no contract to end or keep. terminate_at_expiry ends it where it can end; the donor may refuse the port while a commitment period runs. terminate_early ends it even during a commitment period, which may cost the customer an early-termination fee at the donor. keep_with_new_number keeps the contract running at the donor under a new number.
terminate_at_expiryterminate_earlykeep_with_new_numberstatusstringrequested: Accepted by Firsty; submission to the network in progressapproved: The donor accepted the port;scheduledAtis the earliest moment the number can move, once known, which can be days ahead. When that moment has already passed, the number moves right after the approval. The port finishes atcompletedcancelling: Cancellation requested, awaiting the network's confirmationcompleted: The donor released the number and it is assigned to this SIMrejected: Donor rejected the request (seereason); submit a corrected request or abandon (see the Porting workflow). A rejection the customer can still correct may keep the requestrequesteduntil it is finalfailed: Port failed (seereason); submit a corrected request or abandon (see the Porting workflow)cancelled: Cancellation confirmed; submit a corrected request or abandon (see the Porting workflow)
requestedapprovedcancellingcompletedrejectedfailedcancelledreasonobjectoptionalWhy the port-in was rejected or failed. Present when status is rejected or failed, and on a requested port-in the donor has rejected for a reason the customer can still correct
Show propertiesHide properties
codestringNormalized cause of the rejection or failure, the same in every country. provider_failure covers every cause without a more specific code. The list of values is open-ended; new values may be added
msisdn_sim_mismatchmsisdn_account_mismatchdonor_contract_type_mismatchnumber_not_activenumber_not_portablenumber_porting_in_progresscontract_commitmentprovider_failuremessagestring | nullHuman-readable detail of the cause for support; free-form, not intended to be parsed. Null when there is none
scheduledAtstring | null · date-timeThe moment the number moves to this SIM. At approval it is the earliest moment the donor agreed to, and a reschedule replaces it with the moment you chose; null until known. When it has already passed at the approval, the number moves right after. It may move until the port completes
submittedAtstring | null · date-timeWhen the port-in was submitted to the network; null while submission is still pending, and for a port-in whose request was not accepted
completedAtstring | null · date-timeWhen the number moved to this SIM
abandonedbooleanWhether porting was abandoned in favour of the temporary number (irreversible; no corrected request possible)
createdAtstring · date-timeupdatedAtstring · date-timepaginationobjectShow propertiesHide properties
limitintegerMaximum items per page
hasMorebooleanWhether there are more items after this page
nextCursorstring | nullCursor for the next page. Null when there are no more results.
400Bad request - invalid parameters