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.porting.listUkCarriers();
console.log(response.data);{
"data": [
{
"id": "96dfa9e4-c753-4fd3-97cd-42d66f26cf0c",
"cupid": "895",
"name": "Telnyx UK Limited",
"alternative_cupids": [
"895"
],
"record_type": "porting_uk_carrier",
"created_at": "2021-03-19T10:07:15.527000Z",
"updated_at": "2021-03-19T10:07:15.527000Z"
}
]
}List available carriers in the UK.
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.porting.listUkCarriers();
console.log(response.data);{
"data": [
{
"id": "96dfa9e4-c753-4fd3-97cd-42d66f26cf0c",
"cupid": "895",
"name": "Telnyx UK Limited",
"alternative_cupids": [
"895"
],
"record_type": "porting_uk_carrier",
"created_at": "2021-03-19T10:07:15.527000Z",
"updated_at": "2021-03-19T10:07:15.527000Z"
}
]
}Was this page helpful?