Stand-Alone Port-Ins
A stand-alone port-in ports a single group of numbers: US/Canada local, US/Canada toll free, or international. It uses the same /portins API as other port-ins, but on Universal Platform accounts and the /api/v2 base path, Bandwidth checks portability when the order is created and fills in the port type, country, number type, and earliest port date for you.
Before you start, read the Overview for eligibility, prerequisites, and status definitions. All requests below use the base URL https://api.bandwidth.com/api/v2 and JSON (Content-Type: application/json, Accept: application/json). If you have numbers that span several groups, use a bulk port-in instead.
Planning the Port-In
Every number on a stand-alone port-in must fall into the same group returned by the Portability Checker: the same country, number type, and port type (plus the same area code for international numbers), and the same losing carrier (US/Canada local) or controlling RespOrg (toll free). Numbers that don't fit one group are rejected when the order is created.
The portability response also tells you which portingDocuments and complianceRequirements the port-in needs, and its earliestEstimate port date.
Creating a Port-In
Create the port-in with POST /accounts/{accountId}/portins.
- Set
"processingStatus": "DRAFT"to save a draft you can finish later. - Omit
processingStatusto create and submit the port-in in one request.
If you omit requestedFocDate, the port-in uses the earliest estimated date. A requested date earlier than the earliest estimate is moved to the earliest estimate.
To see exactly which dates and times the port-in will accept, create it as a draft and call GET /accounts/{accountId}/portins/{orderId}/availableFocDates. See Available FOC Dates.
Common fields
| Field | Description |
|---|---|
phoneNumbers | Numbers to port, in E.164 format. |
subAccountId | The sub-account (site) the numbers will be placed in. Required to submit; optional on a draft. |
locationId | The location (SIP peer) the numbers will be placed in. |
customerOrderId | Your reference for the order. Letters, numbers, spaces, and hyphens, up to 255 characters. |
requestedFocDate | Requested port date, as 2026-11-04, 2026-11-04Z (deprecated), or an ISO 8601 timestamp such as 2026-11-04T16:30:00Z. Must fall inside a window returned by Available FOC Dates. |
voiceConfigurationPackageId | The Voice Configuration Package to apply to the numbers. Required to submit when your account uses Voice Configuration Packages (error 7697 if missing); optional on a draft. |
processingStatus | DRAFT to save a draft. Omit to submit. |
US/Canada Local Port-Ins
US/Canada local port-ins also take loaAuthorizingPerson, billingTelephoneNumber, and a subscriber. The subscriber needs exactly one of:
addressId, an address stored in the Bandwidth address serviceserviceAddress, an inline address
Sending neither returns 7107; sending both returns 7886.
Request with a service address (draft)
{
"customerOrderId": "portin-docs-s01",
"processingStatus": "DRAFT",
"subAccountId": 12345,
"locationId": 67890,
"voiceConfigurationPackageId": "d7db032a-d007-43c4-90eb-987741532706",
"loaAuthorizingPerson": "Jane Doe",
"billingTelephoneNumber": "+19195550102",
"phoneNumbers": ["+19195550102"],
"subscriber": {
"subscriberType": "BUSINESS",
"businessName": "Acme Corp",
"serviceAddress": {
"houseNumber": "2230",
"streetName": "Bandmate Way",
"city": "Raleigh",
"stateCode": "NC",
"zip": "27607",
"county": "Wake",
"country": "United States",
"addressType": "Service"
}
}
}
{
"orderId": "f0856d2c-1943-4eef-9c6d-d5f8393238af",
"processingStatus": "DRAFT",
"billingTelephoneNumber": "+19195550102",
"subscriber": {
"subscriberType": "BUSINESS",
"businessName": "Acme Corp",
"serviceAddress": {
"houseNumber": "2230",
"streetName": "Bandmate Way",
"city": "Raleigh",
"stateCode": "NC",
"zip": "27607",
"county": "Wake",
"country": "United States",
"addressType": "Service"
}
},
"loaAuthorizingPerson": "Jane Doe",
"phoneNumbers": ["+19195550102"],
"subAccountId": 12345,
"locationId": 67890,
"errors": [],
"customerOrderId": "portin-docs-s01",
"status": {
"description": "Order request received. Please use the order id to check the status of your order later.",
"code": 201
},
"partialPort": "false",
"billingType": "PORTIN",
"voiceConfigurationPackageId": "d7db032a-d007-43c4-90eb-987741532706"
}
Request with an address ID (submit)
Without processingStatus, the port-in is submitted right away. Until its LOA is uploaded it waits in PENDING_DOCUMENTS.
{
"customerOrderId": "portin-docs-s02",
"subAccountId": 12345,
"locationId": 67890,
"voiceConfigurationPackageId": "d7db032a-d007-43c4-90eb-987741532706",
"loaAuthorizingPerson": "Jane Doe",
"billingTelephoneNumber": "+19195550103",
"phoneNumbers": ["+19195550103"],
"subscriber": {
"subscriberType": "BUSINESS",
"businessName": "Acme Corp",
"addressId": "7a6f7e54-6189-4856-a89d-dc49276719c2"
}
}
{
"orderId": "b289afbc-c187-474b-ae47-e9562e7e59e0",
"processingStatus": "PENDING_DOCUMENTS",
"billingTelephoneNumber": "+19195550103",
"subscriber": {
"subscriberType": "BUSINESS",
"businessName": "Acme Corp",
"addressId": "7a6f7e54-6189-4856-a89d-dc49276719c2"
},
"loaAuthorizingPerson": "Jane Doe",
"phoneNumbers": ["+19195550103"],
"subAccountId": 12345,
"locationId": 67890,
"errors": [],
"customerOrderId": "portin-docs-s02",
"status": {
"description": "Order request received. Please use the order id to check the status of your order later.",
"code": 201
},
"partialPort": "false",
"billingType": "PORTIN",
"voiceConfigurationPackageId": "d7db032a-d007-43c4-90eb-987741532706"
}
Upload the LOA with POST /accounts/{accountId}/portins/{orderId}/loas, sending the file as the request body:
POST /api/v2/accounts/9900000/portins/b289afbc-c187-474b-ae47-e9562e7e59e0/loas?documentType=LOA
Content-Type: application/pdf
<PDF file bytes>
US/Canada Toll Free Port-Ins
Toll free port-ins take targetRespOrgId, the Bandwidth RespOrg the numbers will move to, and loaAuthorizingPerson. No subscriber is needed.
{
"customerOrderId": "portin-docs-s03",
"processingStatus": "DRAFT",
"subAccountId": 12345,
"locationId": 67890,
"voiceConfigurationPackageId": "d7db032a-d007-43c4-90eb-987741532706",
"loaAuthorizingPerson": "Jane Doe",
"targetRespOrgId": "JYT01",
"phoneNumbers": ["+18335550101"]
}
The draft starts in VALIDATE_DRAFT_TFNS while the numbers are validated with the controlling RespOrg, then moves to VALID_DRAFT_TFNS (or INVALID_DRAFT_TFNS).
{
"orderId": "d416df96-bce6-43c8-af22-3359b5fc3638",
"processingStatus": "VALIDATE_DRAFT_TFNS",
"loaAuthorizingPerson": "Jane Doe",
"phoneNumbers": ["+18335550101"],
"subAccountId": 12345,
"locationId": 67890,
"errors": [],
"customerOrderId": "portin-docs-s03",
"status": {
"description": "Order request received. Please use the order id to check the status of your order later.",
"code": 201
},
"partialPort": "false",
"tollFreeValidationStatus": "SUBMITTED",
"tollFreePortType": "PHASE_1_TOLLFREE",
"targetRespOrgId": "JYT01",
"voiceConfigurationPackageId": "d7db032a-d007-43c4-90eb-987741532706"
}
Upload the LOA with the same /loas endpoint as US/Canada local port-ins. For more on toll free validation, see Toll Free Portability Validations.
Submitting a Draft
Submit any draft with PUT /accounts/{accountId}/portins/{orderId} and "processingStatus": "SUBMITTED". PUT can clear fields you leave out, so send every value you want to keep. A US/Canada local port-in then waits in PENDING_DOCUMENTS until you upload its LOA. For international port-ins, see below.
International Port-Ins
International (non-NANP) port-ins take:
losingCarrierName, the current carrier- a
subscriberwith anaddressIdin the same country as the numbers, plusvatNumberwhere the country requires it requirementsPackageId, when the portability check listscomplianceRequirements
They don't use loaAuthorizingPerson or billingTelephoneNumber. See Stand-Alone Non-NANP Port-Ins for how to look up losing carriers, create addresses and Requirements Packages, and see country-specific examples.
{
"customerOrderId": "portin-docs-s04",
"processingStatus": "DRAFT",
"subAccountId": 12345,
"locationId": 67890,
"voiceConfigurationPackageId": "d7db032a-d007-43c4-90eb-987741532706",
"losingCarrierName": "Example UK Carrier",
"phoneNumbers": ["+442071234569"],
"subscriber": {
"subscriberType": "BUSINESS",
"businessName": "Acme UK Ltd",
"vatNumber": "GB123456789",
"addressId": "aa2cc3af-1444-43f0-a35f-1ab8504e09cc"
}
}
Submitting an international draft
Submit a draft with PUT /accounts/{accountId}/portins/{orderId} and "processingStatus": "SUBMITTED". PUT replaces the fields you send, so include every value you want to keep.
{
"processingStatus": "SUBMITTED",
"customerOrderId": "portin-docs-s04",
"losingCarrierName": "Example UK Carrier",
"subscriber": {
"subscriberType": "BUSINESS",
"businessName": "Acme UK Ltd",
"vatNumber": "GB123456789",
"addressId": "aa2cc3af-1444-43f0-a35f-1ab8504e09cc"
}
}
If documents or a Requirements Package are still outstanding, the port-in goes to MISSING_REQUIREMENTS, and missingRequirements says what's needed:
{
"processingStatus": "MISSING_REQUIREMENTS",
"requestedFocDate": "2026-11-06T00:00:00Z",
"phoneNumbers": ["+442071234569"],
"pon": "1234A0262920170DE",
"losingCarrierName": "Example UK Carrier",
"customerOrderId": "portin-docs-s04",
"portType": "MANUAL",
"countryCodeA3": "GBR",
"phoneNumberType": "GEOGRAPHIC",
"missingRequirements": [
{
"requirement": "PORTING_DOCUMENTS",
"description": "A Letter of Authorization (LOA) is required"
}
]
}
Upload the documents with POST /accounts/{accountId}/porting/portinOrders/{orderId}/documents (see Managing Documents on a Port-In Order). Once every requirement is met, the port-in moves to SUBMITTED automatically.
Updating a Port-In
Update a port-in with PUT /accounts/{accountId}/portins/{orderId}. Drafts can be changed freely. After submission, an update is a supplement (supp): the order moves to REQUESTED_SUPP while the change is processed.
{
"orderId": "cce0eb8f-c20e-4c40-b58b-4fbf8c5befdb",
"processingStatus": "REQUESTED_SUPP",
"requestedFocDate": "2026-11-04T16:30:00Z",
"errors": [],
"status": {
"description": "Supp request received. Please use the order id to check the status of your order later.",
"code": 200
}
}
To move the port date, pick a new requestedFocDate from Available FOC Dates first.
Check the result with GET /accounts/{accountId}/portins/{orderId}. If the order is in EXCEPTION, its errors list explains what to correct.
Cancelling a Port-In
Cancel with DELETE /accounts/{accountId}/portins/{orderId}.
- A draft is removed and the response is
200 OKwith no body. - A submitted port-in moves to
REQUESTED_CANCEL:
{
"orderId": "d3502ce6-65a7-45d2-90c4-02fc1c62d938",
"processingStatus": "REQUESTED_CANCEL",
"errors": [],
"status": {
"description": "Cancellation request received. Please use the order id to check the status of your order later.",
"code": 200
}
}
Drafts are also removed automatically 48 hours after their last update.
Errors When Creating a Port-In
Rejected requests return 400 Bad Request with an errors list. No order is created.
Numbers from different groups
{
"phoneNumbers": ["+442071234569", "+18885550100"],
"errors": [
{
"description": "Phone numbers on the same port-in order must all belong to the same country.",
"code": 7661
},
{
"description": "Telephone numbers are non portable",
"code": 7503
}
],
"status": {
"description": "Please see the error list for more details.",
"code": 400
}
}
Common errors
| Code | Description |
|---|---|
7103 | The billing telephone number (BTN) is required. |
7104 | Subscriber information is required. |
7107 | A US/Canada local subscriber needs an addressId or a serviceAddress. |
7113 | Wireless information (wirelessInfo) is required for wireless numbers. |
7204 | US/Canada local numbers have different losing carriers. |
7426 | Numbers have different port types. |
7503 | One or more numbers are not portable. Run the portability check to see why. |
7652 | Toll free numbers have different controlling RespOrgs. |
7660 | More than 500 international numbers on one port-in. |
7661 | Numbers belong to different countries. |
7662 | Numbers have different number types. |
7666 | The losing carrier name is required for international port-ins. |
7753 | International numbers on one port-in must share an area code. |
7886 | Send either addressId or serviceAddress, not both. |