Notification State
Authorizations
AuthorizationstringRequired
Bearer authentication
Responses
200
Notification state
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
The specified resource was not found
application/json
500
unexpected error
application/json
501
unexpected error
application/json
503
unexpected error
application/json
get/api/v1/notification-state
GET /api/v1/notification-state HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"email": {
"enabled": true
},
"slack": {
"enabled": true
}
}Authorizations
AuthorizationstringRequired
Bearer authentication
Body
Responses
200
Notification Channel config
application/json
400
Bad request.
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
The specified resource was not found
application/json
500
unexpected error
application/json
501
unexpected error
application/json
503
unexpected error
application/json
patch/api/v1/notification-state
PATCH /api/v1/notification-state HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 51
{
"email": {
"enabled": true
},
"slack": {
"enabled": true
}
}{
"email": {
"enabled": true
},
"slack": {
"enabled": true
}
}Last updated