GET
/v1/organizations/:organizationId/apps/:applicationId/notifications/:applicationNotificationId
Copy to clipboard
Get notification by Id or Slug
Required Permission: mad.application.notification.get
Get notification by Id or Slug
Request
Add parameter in header
authorization
Example:
Authorization: Bearer <token>
organizationId
string
required
applicationId
string
required
applicationNotificationId
string
required
Responses
200 Response
application/json
status
boolean
optional
data
object
optional
id
string
optional
organization
string
optional
application
string
optional
description
string
optional
type
string
optional
config
object
optional
slack
object
optional
team
string
optional
channel
string
optional
webhook
object
optional
url
string
optional
token
string
optional
events
object
optional
buildCreated
boolean
optional
buildProcessed
boolean
optional
feedbackCreated
boolean
optional
certificateWillExpire
boolean
optional
updatedAt
string
optional
createdAt
string
optional
{
"status": true,
"data": {
"id": "string",
"organization": "string",
"application": "string",
"description": "string",
"type": "slack",
"config": {
"slack": {
"team": "string",
"channel": "string"
},
"webhook": {
"url": "string",
"token": "string"
}
},
"events": {
"buildCreated": true,
"buildProcessed": true,
"feedbackCreated": true,
"certificateWillExpire": true
},
"updatedAt": "2024-01-01T00: 00:00Z",
"createdAt": "2024-01-01T00: 00:00Z"
}
}
401 Response
application/json
status
boolean
optional
error
object
optional
code
number
optional
message
string
optional
{
"status": false,
"error": {
"code": 4002,
"message": "No auth token"
}
}
404 Response
application/json
status
boolean
optional
error
object
optional
code
number
optional
message
string
optional
{
"status": false,
"error": {
"code": 3001,
"message": "Entity not found"
}
}