Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
Successful response
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"
}
}
}
]
}List all Global IP Health check types.
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"
}
}
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful response
Show child attributes
Was this page helpful?