v50

latestOpenAPI 3.0.1Apache 2.0raw.githubusercontent.com2026-05-071740139.1 KB
NumbersV1PortingPortInPhoneNumber

Fetch a phone number by port in request SID and phone number SID

Fetch a phone number by port in request SID and phone number SID

get/v1/Porting/PortIn/{PortInRequestSid}/PhoneNumber/{PhoneNumberSid}

Path parameters

PortInRequestSidstring required

The SID of the Port In request. This is a unique identifier of the port in request.

PhoneNumberSidstring required

The SID of the Phone number. This is a unique identifier of the phone number.

Response

OK

port_in_request_sidstring nullable

The unique identifier for the port in request that this phone number is associated with.

phone_number_sidstring nullable

The unique identifier for this phone number associated with this port in request.

urlstring uri nullable

URL reference for this resource.

account_sidstring nullable

Account Sid or subaccount where the phone number(s) will be Ported.

phone_number_typestring nullable

The number type of the phone number. This can be: toll-free, local, mobile or unknown. This field may be null if the number is not portable or if the portability for a number has not yet been evaluated.

date_createdstring date-time nullable

The timestamp for when this port in phone number was created.

countrystring iso-country-code nullable

The ISO country code that this number is associated with. This field may be null if the number is not portable or if the portability for a number has not yet been evaluated.

missing_required_fieldsboolean nullable

Indicates if the phone number is missing required fields such as a PIN or account number. This field may be null if the number is not portable or if the portability for a number has not yet been evaluated.

last_updatedstring date-time nullable

Timestamp indicating when the Port In Phone Number resource was last modified.

phone_numberstring phone-number nullable

Phone number to be ported. This will be in the E164 Format.

portableboolean nullable

If the number is portable by Twilio or not. This field may be null if the number portability has not yet been evaluated. If a number is not portable reference the not_portability_reason_code and not_portability_reason fields for more details

not_portability_reasonstring nullable

The not portability reason code description. This field may be null if the number is portable or if the portability for a number has not yet been evaluated.

not_portability_reason_codeinteger nullable

The not portability reason code. This field may be null if the number is portable or if the portability for a number has not yet been evaluated.

port_in_phone_number_statusstring nullable

The status of the port in phone number.

port_out_pininteger nullable

The pin required by the losing carrier to do the port out.

rejection_reasonstring nullable

The description of the rejection reason provided by the losing carrier. This field may be null if the number has not been rejected by the losing carrier.

rejection_reason_codeinteger nullable

The code for the rejection reason provided by the losing carrier. This field may be null if the number has not been rejected by the losing carrier.

port_datestring date-time nullable

The timestamp the phone number will be ported. This will only be set once a port date has been confirmed. Not all carriers can guarantee a specific time on the port date. Twilio will try its best to get the port completed by this time on the port date. Please subscribe to webhooks for confirmation on when a port has actually been completed.