Integrations /
Get notification integration
Required permission
Account > Team > 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, TEAMSwebhook
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.restricted
boolean requiredShould notifications be sent only for specific projects?projects
[array] requiredAn array of projects that notifications will be sent for.- stringpattern^[A-Za-z0-9-]+$
events
{object} requiredWhich events should notifications be sent for?trigger:service:autoscaling:event
booleantrigger:service:deployment:status-update
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: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:addon:container-crash
booleantrigger:infrastructure:addon:container-eviction
booleantrigger:infrastructure:job:container-crash
booleantrigger:infrastructure:job:container-eviction
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: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:byoc:cluster:error
booleantrigger:infrastructure:byoc:node-pool:error
booleantrigger:infrastructure:byoc:scheduling:error
boolean
GET /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
},
"restricted": true,
"projects": [
"default-project"
],
"events": {
"trigger:service:autoscaling:event": true,
"trigger:service:deployment:status-update": 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: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:addon:container-crash": true,
"trigger:infrastructure:addon:container-eviction": true,
"trigger:infrastructure:job:container-crash": true,
"trigger:infrastructure:job:container-eviction": 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: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:byoc:cluster:error": true,
"trigger:infrastructure:byoc:node-pool:error": true,
"trigger:infrastructure:byoc:scheduling:error": true
}
}
}