const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/outgoing-webhooks-types';
let options = {method: 'GET', headers: {Authorization: 'Bearer <API_KEY>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{
"webhooks": [
{
"type": "UNKNOWN",
"label": "example_label",
"count": 3
}
]
}
No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/outgoing-webhooks-types';
let options = {method: 'GET', headers: {Authorization: 'Bearer <API_KEY>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{
"webhooks": [
{
"type": "UNKNOWN",
"label": "example_label",
"count": 3
}
]
}
API key authentication
A successful response.
The response is of type object
.
Was this page helpful?