import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
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: 'My API Key',
});
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"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful response
Show child attributes
Identifies the UK carrier.
"96dfa9e4-c753-4fd3-97cd-42d66f26cf0c"
The CUPID of the carrier. This is a 3 digit number code that identifies the carrier in the UK.
"895"
The name of the carrier.
"Telnyx UK Limited"
Alternative CUPIDs of the carrier.
An alternative CUPID of the carrier.
Identifies the type of the resource.
"porting_uk_carrier"
ISO 8601 formatted date indicating when the resource was created.
"2021-03-19T10:07:15.527000Z"
ISO 8601 formatted date indicating when the resource was updated.
"2021-03-19T10:07:15.527000Z"
Was this page helpful?