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

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

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

console.log(globalIPHealthCheckTypes.data);
{
  "data": [
    {
      "record_type": "global_ip_health_check_type",
      "health_check_type": "http_status_2xx",
      "health_check_params": {
        "health_check_params": {
          "path": "str",
          "port": "int"
        }
      }
    }
  ]
}

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 Health Check Type · object[]