Get details about a notification integration.
Required permission
Account > Observability > Notifications > Read
Path parameters
notificationId
string requiredID of the notification integration
Response body
- {object}Response object.
data
{object} requiredResult data.name
string requiredThe name of the notification integration.min length3max length39pattern^[a-zA-Z]((-|\s)?[a-zA-Z0-9]+((-|\s)[a-zA-Z0-9]+)*)?$id
string requiredThe ID of the notification integration.type
string requiredThe provider to send webhooks to. `RAW_WEBHOOK` allows you to send webhooks to a url of your choice, or you can choose a specific provider.one ofRAW_WEBHOOK, SLACK, DISCORD, TEAMS, GOOGLE_CHAT, TEAMS_WORKFLOWSwebhook
string requiredThe URL where webhooks will be sent.createdAt
string requiredCreation dateupdatedAt
string requiredLast update datestatus
{object}disabled
booleanIs the webhook currently disabled?reason
booleanWhy the webhook was disabled.timeOfFirstFailedRequest
stringThe timestamp of the first failed webhook request.numberOfFailedRequests
numberThe number of failed webhook requests.restrictions
{object}Configuration of restrictions.projects
{object}enabled
booleanitems
[array]- stringmin length3max length100pattern^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$
clusters
{object}enabled
booleanitems
[array]- {object}
scope
string requiredone ofteam, orgid
string requiredmax length255excludedTags
{object}enabled
booleanitems
[array]An array of previously defined tags to help identify and group the resource.- stringmin length3max length100pattern^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$
events
{object} requiredWhich events should notifications be sent for?trigger:service:autoscaling:event
booleantrigger:service:deployment:status-update
booleantrigger:harness:autoscaling:event
booleantrigger:harness:deployment:status-update
booleantrigger:project:tailscale-regen-failure
booleantrigger:addon-backup:start
booleantrigger:addon-backup:success
booleantrigger:addon-backup:failure
booleantrigger:addon-backup:abort
booleantrigger:build:start
booleantrigger:build:success
booleantrigger:build:failure
booleantrigger:build:abort
booleantrigger:job-run:start
booleantrigger:job-run:success
booleantrigger:job-run:failure
booleantrigger:job-run:abort
booleantrigger:job-run:terminate
booleantrigger:release-flow-template-run:start
booleantrigger:release-flow-template-run:update
booleantrigger:release-flow-template-run:success
booleantrigger:release-flow-template-run:failure
booleantrigger:release-flow-template-run:aborted
booleantrigger:preview-environment:destroyed
booleantrigger:preview-blueprint-run:queued
booleantrigger:preview-blueprint-run:start
booleantrigger:preview-blueprint-run:success
booleantrigger:preview-blueprint-run:failure
booleantrigger:preview-blueprint-run:aborted
booleantrigger:preview-blueprint-run:skipped
booleantrigger:template-run:queued
booleantrigger:template-run:start
booleantrigger:template-run:update
booleantrigger:template-run:success
booleantrigger:template-run:failure
booleantrigger:resource:certificate-success
booleantrigger:resource:certificate-final-failure
booleantrigger:cdn:action-success
booleantrigger:cdn:action-failure
booleantrigger:cdn:action-delay
booleantrigger:log-sink:paused
booleantrigger:billing:billing-alert-exceeded
booleantrigger:billing:invoice-payment-action-required
booleantrigger:billing:invoice-payment-failed
booleantrigger:billing:invoice-paid
booleantrigger:billing:invoice-carried-over
booleantrigger:infrastructure:service:container-crash
booleantrigger:infrastructure:service:container-eviction
booleantrigger:infrastructure:build:container-eviction
booleantrigger:infrastructure:addon:container-crash
booleantrigger:infrastructure:addon:container-eviction
booleantrigger:infrastructure:job:container-crash
booleantrigger:infrastructure:job:container-eviction
booleantrigger:infrastructure:build:container-cpuSpike90
booleantrigger:infrastructure:build:container-cpuSustained90
booleantrigger:infrastructure:service:container-cpuSpike90
booleantrigger:infrastructure:service:container-cpuSustained90
booleantrigger:infrastructure:job:container-cpuSpike90
booleantrigger:infrastructure:job:container-cpuSustained90
booleantrigger:infrastructure:addon:container-cpuSpike90
booleantrigger:infrastructure:addon:container-cpuSustained90
booleantrigger:infrastructure:build:container-memorySpike90
booleantrigger:infrastructure:build:container-memorySustained90
booleantrigger:infrastructure:service:container-memorySpike90
booleantrigger:infrastructure:service:container-memorySustained90
booleantrigger:infrastructure:job:container-memorySpike90
booleantrigger:infrastructure:job:container-memorySustained90
booleantrigger:infrastructure:addon-volume:usage-75-exceeded
booleantrigger:infrastructure:addon-volume:usage-90-exceeded
booleantrigger:infrastructure:platform-volume:usage-75-exceeded
booleantrigger:infrastructure:platform-volume:usage-90-exceeded
booleantrigger:infrastructure:addon-volume:disk-autoresize-triggered
booleantrigger:infrastructure:byoc:cluster:error
booleantrigger:infrastructure:byoc:node-pool:error
booleantrigger:infrastructure:byoc:scheduling:error
booleantrigger:infrastructure:byoc:volume:error
booleantrigger:infrastructure:byoc:volume:attach
boolean
GET /v1/integrations/notifications/{notificationId}
GET /v1/teams/{teamId}/integrations/notifications/{notificationId}
curl --header "Content-Type: application/json" \
--header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
--request GET \
"https://api.northflank.com/v1/integrations/notifications/{notificationId}"Example response
200 OK
JSON
{
"data": {
"name": "Example Notification",
"id": "example-notification",
"type": "RAW_WEBHOOK",
"webhook": "https://example.com/webhooks",
"createdAt": "2023-09-12T16:39:44.166Z\"",
"updatedAt": "2023-09-12T16:39:44.166Z\"",
"status": {
"disabled": false
},
"restrictions": {
"tags": {
"enabled": false,
"matchCondition": "or"
}
},
"events": {
"trigger:service:autoscaling:event": true,
"trigger:service:deployment:status-update": true,
"trigger:harness:autoscaling:event": true,
"trigger:harness:deployment:status-update": true,
"trigger:project:tailscale-regen-failure": true,
"trigger:addon-backup:start": true,
"trigger:addon-backup:success": true,
"trigger:addon-backup:failure": true,
"trigger:addon-backup:abort": true,
"trigger:build:start": true,
"trigger:build:success": true,
"trigger:build:failure": true,
"trigger:build:abort": true,
"trigger:job-run:start": true,
"trigger:job-run:success": true,
"trigger:job-run:failure": true,
"trigger:job-run:abort": true,
"trigger:job-run:terminate": true,
"trigger:release-flow-template-run:start": true,
"trigger:release-flow-template-run:update": true,
"trigger:release-flow-template-run:success": true,
"trigger:release-flow-template-run:failure": true,
"trigger:release-flow-template-run:aborted": true,
"trigger:preview-environment:destroyed": true,
"trigger:preview-blueprint-run:queued": true,
"trigger:preview-blueprint-run:start": true,
"trigger:preview-blueprint-run:success": true,
"trigger:preview-blueprint-run:failure": true,
"trigger:preview-blueprint-run:aborted": true,
"trigger:preview-blueprint-run:skipped": true,
"trigger:template-run:queued": true,
"trigger:template-run:start": true,
"trigger:template-run:update": true,
"trigger:template-run:success": true,
"trigger:template-run:failure": true,
"trigger:resource:certificate-success": true,
"trigger:resource:certificate-final-failure": true,
"trigger:cdn:action-success": true,
"trigger:cdn:action-failure": true,
"trigger:cdn:action-delay": true,
"trigger:log-sink:paused": true,
"trigger:billing:billing-alert-exceeded": true,
"trigger:billing:invoice-payment-action-required": true,
"trigger:billing:invoice-payment-failed": true,
"trigger:billing:invoice-paid": true,
"trigger:billing:invoice-carried-over": true,
"trigger:infrastructure:service:container-crash": true,
"trigger:infrastructure:service:container-eviction": true,
"trigger:infrastructure:build:container-eviction": true,
"trigger:infrastructure:addon:container-crash": true,
"trigger:infrastructure:addon:container-eviction": true,
"trigger:infrastructure:job:container-crash": true,
"trigger:infrastructure:job:container-eviction": true,
"trigger:infrastructure:build:container-cpuSpike90": true,
"trigger:infrastructure:build:container-cpuSustained90": true,
"trigger:infrastructure:service:container-cpuSpike90": true,
"trigger:infrastructure:service:container-cpuSustained90": true,
"trigger:infrastructure:job:container-cpuSpike90": true,
"trigger:infrastructure:job:container-cpuSustained90": true,
"trigger:infrastructure:addon:container-cpuSpike90": true,
"trigger:infrastructure:addon:container-cpuSustained90": true,
"trigger:infrastructure:build:container-memorySpike90": true,
"trigger:infrastructure:build:container-memorySustained90": true,
"trigger:infrastructure:service:container-memorySpike90": true,
"trigger:infrastructure:service:container-memorySustained90": true,
"trigger:infrastructure:job:container-memorySpike90": true,
"trigger:infrastructure:job:container-memorySustained90": true,
"trigger:infrastructure:addon-volume:usage-75-exceeded": true,
"trigger:infrastructure:addon-volume:usage-90-exceeded": true,
"trigger:infrastructure:platform-volume:usage-75-exceeded": true,
"trigger:infrastructure:platform-volume:usage-90-exceeded": true,
"trigger:infrastructure:addon-volume:disk-autoresize-triggered": true,
"trigger:infrastructure:byoc:cluster:error": true,
"trigger:infrastructure:byoc:node-pool:error": true,
"trigger:infrastructure:byoc:scheduling:error": true,
"trigger:infrastructure:byoc:volume:error": true,
"trigger:infrastructure:byoc:volume:attach": true
}
}
}