List all port requests
GET/origination/porting/port_requests
Returns a list of your port requests.
Request
Query Parameters
page integer
Default value: 1
Page number of results to load
per_page integer
Default value: 20
Number of results per page
search string
Filter results by support_key (pr_*) or partial phone number
status string
Possible values: [incomplete
, complete
]
Filter results by status
include_phone_numbers boolean
Default value: true
Include phone number objects in the results
include_sub_requests boolean
Include sub request objects in the results
Responses
200: Port Requests Response
Response Headers
Total
integer
Total number of results
Total-Pages
integer
Total number of pages
- application/json
401: Unauthorized
Request samples
curl -L 'https://api.telnyx.com/origination/porting/port_requests' \
-H 'Accept: application/json'
Response samples
[
{
"id": "string",
"phone_numbers": [
{
"phone_number": "string",
"svtype": "string",
"carrier_name": "string",
"coverage_category": "nanp_generic",
"sub_request_id": "string",
"sub_request_status": "string",
"portability_status": "pending"
}
],
"support_key": "string",
"created_at": "string",
"updated_at": "string",
"phone_number_counts_by_status": [
{
"status": "unassigned",
"count": 0
}
],
"sub_requests": [
{
"id": "string",
"phone_numbers": [
{
"phone_number": "string",
"svtype": "string",
"carrier_name": "string",
"coverage_category": "nanp_generic",
"sub_request_id": "string",
"sub_request_status": "string",
"portability_status": "pending"
}
],
"foc_date": "string",
"status": "unassigned",
"support_key": "string",
"phone_number_count": 0,
"underlying_carrier_names": [
"string"
],
"foc_date_requested_by_user": "string",
"person_or_company_name": "string",
"auth_person_name": "string",
"billing_phone_number": "string",
"street_address": "string",
"extended_address": "string",
"locality": "string",
"administrative_area": "string",
"postal_code": "string",
"country_code": "string",
"created_at": "string",
"updated_at": "string",
"default_connection_id": "string",
"default_message_profile_id": "string",
"porting_option": {
"type": "partial",
"remaining_numbers_action": "keep",
"new_billing_phone_number": "string"
},
"pin_passcode": "string",
"account_number": "string",
"description": "string",
"tax_identifier": "string",
"business_identifier": "string",
"customer_rating": 0,
"customer_rating_comment": "string"
}
]
}
]