No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/outgoing-webhooks/%7Bid%7D';
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));
{
"webhook": {
"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",
"genericWebhook": {
"uuid": "d838cd7b-087b-40c6-bc33-80997020f5d0",
"method": "UNKNOWN",
"headers": {
"Content-Type": "application/json"
},
"payload": {
"key": "value"
}
},
"slack": {
"digests": [
{
"type": "UNKNOWN",
"isActive": "false"
}
],
"attachments": [
{
"type": "EMPTY",
"isActive": "false"
}
]
},
"pagerDuty": {
"serviceKey": "pager_duty_service_key"
},
"sendLog": {
"uuid": "d838cd7b-087b-40c6-bc33-80997020f5d0",
"payload": {
"key": "value"
}
},
"emailGroup": {
"emailAddresses": [
"example@coralogix.com"
]
},
"microsoftTeams": {},
"jira": {
"apiToken": "jira_api_token",
"email": "jira_email",
"projectKey": "jira_project_key"
},
"opsgenie": {},
"demisto": {
"uuid": "d838cd7b-087b-40c6-bc33-80997020f5d0",
"payload": {
"key": "value"
}
},
"awsEventBridge": {
"eventBusArn": "arn:aws:events:us-east-1:123456789012:event-bus/default",
"detail": {
"key": "value"
},
"detailType": "detail_type",
"source": "source",
"roleName": "role_name"
},
"ibmEventNotifications": {
"eventNotificationsInstanceId": "<string>",
"regionId": "<string>",
"sourceId": "<string>",
"sourceName": "<string>",
"endpointType": "ENDPOINT_TYPE_DEFAULT_OR_PUBLIC"
},
"msTeamsWorkflow": {}
}
}
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/%7Bid%7D';
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));
{
"webhook": {
"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",
"genericWebhook": {
"uuid": "d838cd7b-087b-40c6-bc33-80997020f5d0",
"method": "UNKNOWN",
"headers": {
"Content-Type": "application/json"
},
"payload": {
"key": "value"
}
},
"slack": {
"digests": [
{
"type": "UNKNOWN",
"isActive": "false"
}
],
"attachments": [
{
"type": "EMPTY",
"isActive": "false"
}
]
},
"pagerDuty": {
"serviceKey": "pager_duty_service_key"
},
"sendLog": {
"uuid": "d838cd7b-087b-40c6-bc33-80997020f5d0",
"payload": {
"key": "value"
}
},
"emailGroup": {
"emailAddresses": [
"example@coralogix.com"
]
},
"microsoftTeams": {},
"jira": {
"apiToken": "jira_api_token",
"email": "jira_email",
"projectKey": "jira_project_key"
},
"opsgenie": {},
"demisto": {
"uuid": "d838cd7b-087b-40c6-bc33-80997020f5d0",
"payload": {
"key": "value"
}
},
"awsEventBridge": {
"eventBusArn": "arn:aws:events:us-east-1:123456789012:event-bus/default",
"detail": {
"key": "value"
},
"detailType": "detail_type",
"source": "source",
"roleName": "role_name"
},
"ibmEventNotifications": {
"eventNotificationsInstanceId": "<string>",
"regionId": "<string>",
"sourceId": "<string>",
"sourceName": "<string>",
"endpointType": "ENDPOINT_TYPE_DEFAULT_OR_PUBLIC"
},
"msTeamsWorkflow": {}
}
}
No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/outgoing-webhooks/%7Bid%7D';
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));
{
"webhook": {
"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",
"genericWebhook": {
"uuid": "d838cd7b-087b-40c6-bc33-80997020f5d0",
"method": "UNKNOWN",
"headers": {
"Content-Type": "application/json"
},
"payload": {
"key": "value"
}
},
"slack": {
"digests": [
{
"type": "UNKNOWN",
"isActive": "false"
}
],
"attachments": [
{
"type": "EMPTY",
"isActive": "false"
}
]
},
"pagerDuty": {
"serviceKey": "pager_duty_service_key"
},
"sendLog": {
"uuid": "d838cd7b-087b-40c6-bc33-80997020f5d0",
"payload": {
"key": "value"
}
},
"emailGroup": {
"emailAddresses": [
"example@coralogix.com"
]
},
"microsoftTeams": {},
"jira": {
"apiToken": "jira_api_token",
"email": "jira_email",
"projectKey": "jira_project_key"
},
"opsgenie": {},
"demisto": {
"uuid": "d838cd7b-087b-40c6-bc33-80997020f5d0",
"payload": {
"key": "value"
}
},
"awsEventBridge": {
"eventBusArn": "arn:aws:events:us-east-1:123456789012:event-bus/default",
"detail": {
"key": "value"
},
"detailType": "detail_type",
"source": "source",
"roleName": "role_name"
},
"ibmEventNotifications": {
"eventNotificationsInstanceId": "<string>",
"regionId": "<string>",
"sourceId": "<string>",
"sourceName": "<string>",
"endpointType": "ENDPOINT_TYPE_DEFAULT_OR_PUBLIC"
},
"msTeamsWorkflow": {}
}
}
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/%7Bid%7D';
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));
{
"webhook": {
"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",
"genericWebhook": {
"uuid": "d838cd7b-087b-40c6-bc33-80997020f5d0",
"method": "UNKNOWN",
"headers": {
"Content-Type": "application/json"
},
"payload": {
"key": "value"
}
},
"slack": {
"digests": [
{
"type": "UNKNOWN",
"isActive": "false"
}
],
"attachments": [
{
"type": "EMPTY",
"isActive": "false"
}
]
},
"pagerDuty": {
"serviceKey": "pager_duty_service_key"
},
"sendLog": {
"uuid": "d838cd7b-087b-40c6-bc33-80997020f5d0",
"payload": {
"key": "value"
}
},
"emailGroup": {
"emailAddresses": [
"example@coralogix.com"
]
},
"microsoftTeams": {},
"jira": {
"apiToken": "jira_api_token",
"email": "jira_email",
"projectKey": "jira_project_key"
},
"opsgenie": {},
"demisto": {
"uuid": "d838cd7b-087b-40c6-bc33-80997020f5d0",
"payload": {
"key": "value"
}
},
"awsEventBridge": {
"eventBusArn": "arn:aws:events:us-east-1:123456789012:event-bus/default",
"detail": {
"key": "value"
},
"detailType": "detail_type",
"source": "source",
"roleName": "role_name"
},
"ibmEventNotifications": {
"eventNotificationsInstanceId": "<string>",
"regionId": "<string>",
"sourceId": "<string>",
"sourceName": "<string>",
"endpointType": "ENDPOINT_TYPE_DEFAULT_OR_PUBLIC"
},
"msTeamsWorkflow": {}
}
}