Skip to main content
POST
/
orgs
/
{org_id}
/
notifications
/
channels
Create a notification channel
curl --request POST \
  --url https://api.timbal.ai/orgs/{org_id}/notifications/channels \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "config": {},
  "name": "<string>",
  "type": "email"
}
'
{
  "channel_action": "linked",
  "id": 123
}
Creates or reuses a channel (e.g. email dedupe by type + config). Org admin only.

Authorizations

Authorization
string
header
required

Timbal API key. Obtain your API key from the Timbal platform settings. See Authentication for more information.

Path Parameters

org_id
string
required

Body

application/json

Email channel: type: "email" and config.to.

Body for POST /orgs/{org_id}/notifications/channels (standalone channel; same validation as inline rule channel, no id).

config
object
name
string | null
type
enum<string>
Available options:
email

Response

Channel id and whether it was created or reused

channel_action
enum<string>
required

How the rule was wired to NotificationChannels for this create call.

Available options:
linked,
reused,
created
id
integer<int64>
required