Check out our upcoming events and meetups! View events →
Runs a portability check, returning the results immediately.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const response = await client.portabilityChecks.run();
console.log(response.data);{
"data": [
{
"record_type": "portability_check_result",
"fast_portable": true,
"not_portable_reason": "No coverage",
"phone_number": "+13125550123",
"portable": true
}
]
}Documentation Index
Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The list of +E.164 formatted phone numbers to check for portability
[
"+13035550000",
"+13035550001",
"+13035550002"
]PortabilityCheck Response
Show child attributes
Was this page helpful?
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const response = await client.portabilityChecks.run();
console.log(response.data);{
"data": [
{
"record_type": "portability_check_result",
"fast_portable": true,
"not_portable_reason": "No coverage",
"phone_number": "+13125550123",
"portable": true
}
]
}