Skip to main content
POST
/
orgs
/
{org_id}
/
governance
/
notification-destinations
Create a notification destination
curl --request POST \
  --url https://api.mnemom.ai/v1/orgs/{org_id}/governance/notification-destinations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "config": {},
  "filter": {
    "sources": [],
    "severities": [],
    "scopes": [],
    "pattern_types": [
      "<string>"
    ]
  },
  "enabled": true,
  "display_name": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "org_id": "<string>",
  "config": {},
  "filter": {
    "sources": [],
    "severities": [],
    "scopes": [],
    "pattern_types": [
      "<string>"
    ]
  },
  "enabled": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "display_name": "<string>",
  "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "last_tested_at": "2023-11-07T05:31:56Z",
  "last_test_error": "<string>"
}

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Path Parameters

org_id
string
required

Organization identifier (e.g. org-abc12345)

Body

application/json
channel
enum<string>
required
Available options:
webhook,
slack,
email,
pagerduty
config
object
required
filter
object
enabled
boolean
default:true
display_name
string

Response

Notification destination.

id
string<uuid>
required
org_id
string
required
channel
enum<string>
required
Available options:
webhook,
slack,
email,
pagerduty
config
object
required
filter
object
required
enabled
boolean
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
display_name
string | null
created_by
string<uuid> | null
last_tested_at
string<date-time> | null
last_test_status
enum<string> | null
Available options:
ok,
failed
last_test_error
string | null