Allows to create a new port in request
Allows to create a new port in request
POST
/v1/Porting/PortIn
curl \
--request POST 'https://numbers.twilio.com/v1/Porting/PortIn' \
--user "username:password" \
--header "Content-Type: application/json"
Request examples
{}
Response examples (202)
{
"url": "https://numbers.twilio.com/v1/Porting/PortIn/KWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"documents": [
"ADaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
],
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_created": "2023-09-10T06:52:21Z",
"phone_numbers": [
{
"pin": "123456",
"portable": true,
"phone_number": "+16175551212",
"not_portability_reason": "string",
"port_in_phone_number_sid": "PUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"not_portability_reason_code": 0,
"port_in_phone_number_status": "In Review"
}
],
"notification_emails": [
"user@domain.com"
],
"port_in_request_sid": "KWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"target_port_in_date": "2023-09-10",
"port_in_request_status": "pending",
"losing_carrier_information": {
"address": {
"zip": "000000",
"city": "City",
"state": "State",
"street": "Your Street",
"country": "US",
"street_2": "Other Street or null"
},
"address_sid": "ADaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"customer_name": "Customer name for carrier",
"customer_type": "Business/Individual",
"account_number": "123456",
"account_telephone_number": "+133232323",
"authorized_representative": "John Smith",
"authorized_representative_email": "signer@domain.com"
},
"target_port_in_time_range_end": "20:00:00+01:00",
"target_port_in_time_range_start": "10:00:00+01:00"
}