No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/outgoing-webhooks/all';
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));
{
"deployed": [
{
"id": "webhook_id",
"type": "UNKNOWN",
"name": "my_webhook",
"url": "slack.webhook.com",
"createdAt": "2024-10-20T00:00:00.000Z",
"updatedAt": "2024-10-20T00:00:00.000Z",
"externalId": "external_id_example"
}
]
}
API key authentication
A successful response.
The response is of type object
.
Was this page helpful?
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/outgoing-webhooks/all';
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));
{
"deployed": [
{
"id": "webhook_id",
"type": "UNKNOWN",
"name": "my_webhook",
"url": "slack.webhook.com",
"createdAt": "2024-10-20T00:00:00.000Z",
"updatedAt": "2024-10-20T00:00:00.000Z",
"externalId": "external_id_example"
}
]
}
No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/outgoing-webhooks/all';
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));
{
"deployed": [
{
"id": "webhook_id",
"type": "UNKNOWN",
"name": "my_webhook",
"url": "slack.webhook.com",
"createdAt": "2024-10-20T00:00:00.000Z",
"updatedAt": "2024-10-20T00:00:00.000Z",
"externalId": "external_id_example"
}
]
}
API key authentication
A successful response.
The response is of type object
.
Was this page helpful?
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/outgoing-webhooks/all';
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));
{
"deployed": [
{
"id": "webhook_id",
"type": "UNKNOWN",
"name": "my_webhook",
"url": "slack.webhook.com",
"createdAt": "2024-10-20T00:00:00.000Z",
"updatedAt": "2024-10-20T00:00:00.000Z",
"externalId": "external_id_example"
}
]
}