Skip to contentSkip to navigationSkip to topbar
On this page

Port In API (Public Beta)


(warning)

Public Beta

The Port In API is currently available as a Public Beta product and the information contained in this document is subject to change.

Public Beta products are not covered by a Twilio SLA.

If you'd like to keep your own phone number and move its messaging and voice capabilities to Twilio, you can port your number to Twilio. In this case, Twilio will be the new carrier of the phone number.

This guide describes a step-by-step walkthrough of the automated porting process using Twilio's Port In Request API. With this API, you can create a port in request for US non-toll-free phone numbers (up to 1,000 numbers per request).

Check the portability status of the phone numbers using the Portability API (in Public Beta) prior to submitting a port in request for these numbers.

(information)

Info

The beta of this API does not support email notifications. You will need to configure webhooks to receive updates about your port in request.

With this port in process, you won't need to manually create a PDF document with a Letter of Authorization (LOA) to port a number. An electronic LOA will be generated with the information provided in the Port in Request and sent to the authorized representative's email, so it can be signed digitally. Once a Port in Request is complete, you need to fulfill all messaging and voice compliance requirements before starting using a phone number for Twilio services(link takes you to an external page).


Port In Process

port-in-process page anchor
Port In Process Swimlanes.

The high-level steps for creating a port in request via API are:

  1. Check the portability for all phone numbers in the request.
  2. Upload a Utility Bill(s) showing proof of ownership for phone numbers to be ported.
  3. Create a new port in request for the phone numbers.
  4. A Letter of Authorization (LOA) will be created with all portable numbers from the port in request and it will be sent to the authorized representative's email (added in the API) for signature.
  5. The authorized representative of the number signs the LOA.
  6. Twilio submits the request to the losing carrier.
  7. Any port rejections are handled based on responses from the losing carrier.
  8. Twilio confirms the date for the port with the losing carrier.
  9. Twilio and the losing carrier complete the number port on the agreed date, at which point the phone numbers will be added to your account's inventory.
(information)

About webhooks

See the Webhook APIs for more information about what notifications you can subscribe to as part of the Port In process.


See below for the list of possible statuses your Port In Request and Port In Phone Number can have.

Port In Request Statuses

port-in-request-statuses page anchor

The Port In Request status represents the overall status of the request, and it will be updated as the request progresses through the port in process.

Status NameDescription
In ReviewThe port in request is currently being reviewed by Twilio. The request will progress to the next status automatically.
Waiting for SignatureThe port in request has been accepted by Twilio and a Letter of Authorization (LOA) has been sent to the authorized representative's email.
The authorized representative has 30 days to sign this document or the port in request will be canceled automatically.
In ProgressThe port in request has been submitted to the losing carrier and if accepted will get ported on the agreed date. The request will progress to the next status automatically.
It is only possible to make changes to the target port date of the port in request at this point.
Action RequiredAt least one number in the port in request has been rejected by the losing carrier. To resolve the rejection:
  1. Review the rejection reason code.
  2. Do one of the following:
    • Cancel the rejected phone number from the port in request.
    • Cancel the entire port in request.
  3. Resubmit the port in request with the corrected information.
All phone numbers that were not rejected will continue with the port in process unless the port in request is canceled or the phone number is canceled.
CompletedAll phone numbers in the port in request have been successfully ported to Twilio or canceled. There are no further actions to take.
CancelingThe port in request is in the cancellation process. Some scenarios require you to reach out to the losing carrier or other partners to ensure the cancellation for all phone numbers in the request.
CanceledAll phone numbers in the port in request have been canceled. You can choose to retry this request by submitting it again. Be sure to review the details of this request to determine why it was canceled.
Port In Request Status Transition.

Port In Phone Number Statuses

port-in-phone-number-statuses page anchor

A Port In request allows you to port multiple phone numbers at once. Each phone number in the request will have its own status. The statuses for a phone number in a port in request are:

StatusDescription
In ReviewThe port in phone number is currently being reviewed by Twilio. The phone number will progress to the next status automatically.
Waiting for SignatureThe LOA for the port in request is waiting for a signature from the authorized representative. The phone number will progress to the next status as soon as the LOA is signed.
Port SubmittedThe phone number has been submitted to the losing carrier for port approval. The phone number will progress to the next status automatically.
Port PendingThe phone number port has been accepted by the losing carrier. At this point there should be a date assigned to the port in request for this phone number. The phone number will progress to the next status automatically on the port in date.
Port RejectedThe phone number has been rejected by the losing carrier. To resolve the rejection:
  1. Review the rejection reason code.
  2. Do one of the following:
    • Cancel the rejected phone number from the port in request.
    • Cancel the entire port in request.
  3. Resubmit the port in request with the corrected information.
CompletedThe phone number has been successfully ported to Twilio.
CancelingThe phone number is pending cancellation. Some scenarios require you to reach out to the losing carrier or other partners to ensure cancellation. This is not a terminal status.
CanceledThe phone number was canceled during the port in process. This can happen automatically if the number is not portable or it can be done via the API.
Port In Phone numbers Status Transitions.

These APIs are protected with HTTP Basic authentication(link takes you to an external page). To learn more about how Twilio handles authentication, please refer to our security documentation.

Use your Twilio Account SID as the username and your Auth Token as the password for HTTP Basic authentication with Twilio.

You can find your Account SID and Auth Token in the Console(link takes you to an external page).

To learn more about authentication and interaction with the Twilio REST API, check out our documentation for requests to the API and Twilio's response.

Need some help?

Terms of service

Copyright © 2024 Twilio Inc.