/notification-channelsCreate a notification channel
Creates an email or webhook destination in the requested project.
Send request
Use the documented inputs to call this endpoint directly.
Request body
application/jsonrequiredValues: "mail" · "webhook"
Webhook channels only.
Values: "active" · "paused" · "error"
Responses
Channel created.
{
"status": "success",
"data": {
"id": "65f0c7a9a7d6b4e2c1234567"
}
}The request body, parameter, filter, cursor, or project-scoping pattern is invalid.
{
"status": "error",
"message": "string",
"code": "string",
"detail": {},
"quota": {
"key": "string",
"limit": 1,
"used": 1
},
"feature": "string",
"dependency": "string"
}Stable machine-readable code when the error defines one.
Authentication is missing or the credential is invalid, inactive, expired, or lacks the required scope.
{
"status": "error",
"message": "string",
"code": "string",
"detail": {},
"quota": {
"key": "string",
"limit": 1,
"used": 1
},
"feature": "string",
"dependency": "string"
}Stable machine-readable code when the error defines one.
The authenticated caller is not allowed to perform this operation.
{
"status": "error",
"message": "string",
"code": "string",
"detail": {},
"quota": {
"key": "string",
"limit": 1,
"used": 1
},
"feature": "string",
"dependency": "string"
}Stable machine-readable code when the error defines one.
The requested change conflicts with the resource's current state or dependencies.
{
"status": "error",
"message": "string",
"code": "string",
"detail": {},
"quota": {
"key": "string",
"limit": 1,
"used": 1
},
"feature": "string",
"dependency": "string"
}Stable machine-readable code when the error defines one.
Powered by heyo