import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const globalIPProtocols = await client.globalIPProtocols.list();
console.log(globalIPProtocols.data);{
"data": [
{
"record_type": "global_ip_protocol",
"code": "tcp",
"name": "TCP"
}
]
}List all Global IP Protocols
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const globalIPProtocols = await client.globalIPProtocols.list();
console.log(globalIPProtocols.data);{
"data": [
{
"record_type": "global_ip_protocol",
"code": "tcp",
"name": "TCP"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?