Skip to main content
GET
/
global_ip_allowed_ports
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: 'My API Key',
});

const globalIPAllowedPorts = await client.globalIPAllowedPorts.list();

console.log(globalIPAllowedPorts.data);
{
  "data": [
    {
      "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
      "record_type": "global_ip_allowed_port",
      "protocol_code": "tcp",
      "name": "TCP Registered",
      "first_port": 1024,
      "last_port": 49151
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Successful response

data
Global IP Allowed Port Range · object[]