Skip to main content

Verify phone number portability

POST 
/origination/porting/portability_checks

Verifies the portability of a list of phone numbers.

Example request body

{
"phone_numbers": [
{
"phone_number": "+13125354200"
},
{
"phone_number": "+13125354500"
}
]
}

Request

Body

required

List of phone numbers to check portability on

    phone_numbers

    undefined[]

    required

    List of phone numbers to check phone numbers

  • Array [

  • phone_number stringrequired

    E164 formatted phone number

  • ]

  • List of phone numbers to check phone numbers

Responses

201: Portability check response

401: Unauthorized

422: Unprocessable entity. Check message field in response for details.

Request samples


curl -L 'https://api.telnyx.com/origination/porting/portability_checks' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"phone_numbers": [
{
"phone_number": "string"
}
]
}'

Response samples


[
{
"phone_numbers": [
{
"raw_number": "string",
"e164_number": "string",
"portable": true,
"portability_status": "pending",
"carrier_name": "string",
"coverage_category": "nanp_generic",
"non_portable_reason": "invalid_phone_number"
}
]
}
]